
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
podium-admin-sdk
Advanced tools
This library allows you to access the Podium Admin REST API for building client applications.
npm install podium-admin-sdk
import { Podium, PodiumPaginator, PodiumFilter } from 'podium-admin-sdk'
let podium = new Podium({
endpoint: 'https://admin.podiumrewards.com/api/'
})
podium.Auth.login(email, password).then(rsp => {
console.log(rsp.message)
}).catch(error => {
console.log(error.message)
})
let filter = new PodiumFilter()
filter.setValues({ customer_id: 1, search: 'Dan' })
let paginator = new PodiumPaginator()
paginator.setPerPage(5)
paginator.setSortField('last_name')
paginator.setSortDirection('asc')
podium.Users.List(filter, paginator).then((rsp) => {
console.log(rsp)
})
Settings can be passed into the Podium constructor as a JSON object.
| Name | Type | Default | Description |
|---|---|---|---|
| endpoint | url | https://api.podiumrewards.com/v1/ | The Podium endpoint URL. |
Log in with a username and password and receive an API token to interact with other resources available via the API. The logout endpoint deletes the authentication token.
Podium.Auth.Login(email, password)
Podium.Auth.GetToken()
Podium.Auth.SetToken(string)
Podium.Auth.HasToken()
Podium.Auth.logout()
Log in with a username and password and receive an API token to interact with other resources available via the API. The logout endpoint deletes the authentication token.
| Name | Type | Required? | Description |
|---|---|---|---|
| id | number/string | yes | ID of Resource. |
| Name | Type | Required? | Description |
|---|---|---|---|
| arg1 | Filter/Paginator | no | Filter or Paginator Object. |
| paginator | Paginator | no | Paginator if first parameter is filter. |
| Name | Type | Required? | Description |
|---|---|---|---|
| object | object | no | Object to be created. |
| Name | Type | Required? | Description |
|---|---|---|---|
| id | number/string | yes | ID of Resource. |
| object | object | no | Object to be deleted. |
| Name | Type | Required? | Description |
|---|---|---|---|
| id | number/string | yes | ID of object to be delete. |
Podium.Auth
Podium.Campaigns.Flex.Flex
Podium.Campaigns.Flex.Issue.File
Podium.Campaigns.Flex.Issue.FileError
Podium.Campaigns.Flex.Issue.Manual
Podium.Campaigns.Flex.Rule
Podium.Campaigns.Incentive
Podium.LRG.Configuration
Podium.LRG.Session
Podium.Product.Catalog
Podium.Product.Filterable
Podium.Rewards
Podium.Segments
Podium.SSO.Attributes
Podium.Terms.Latest
Podium.Terms.Terms
Podium.Users
The following set properties are chainable:
PodiumPaginator.setPage(number)
PodiumPaginator.setPerPage(number)
PodiumPaginator.setSortField(field)
PodiumPaginator.setSortDirection([asc|desc])
PodiumPaginator.setSortDesc(boolean)
PodiumPaginator.toParams()
The following set properties are chainable:
PodiumFilter.setValues(object)
PodiumFilter.getValues(number)
PodiumFilter.toParams()
FAQs
Podium Admin JavaScript SDK
We found that podium-admin-sdk demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 6 open source maintainers collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.