Skip to content

Paxos (itBit)

Trevor French edited this page Jul 21, 2023 · 1 revision

Paxos (itBit)

Logo Name Code cryptotrackr Docs Exchange Docs Source Code
paxos Paxos (itBit) paxos /docs/paxos.md 🏢 /R/paxos.R

Functions:

paxos_bearer_token, paxos_list_profiles

paxos_bearer_token(client_id, client_secret, scope)

  • Returns your Paxos bearer token

  • client_id: the client id you generated when you created your API key

  • client_secret: the client secret you generated when you created your API key

  • scope: the scope needed for your specific API call

  • The following example gets your Paxos bearer token and stores it in a variable named "token".

client_id <- "..."
client_secret <- "..."
scope <- 'funding:read_address'
token <- paxos_bearer_token(client_id, client_secret, scope)

paxos_list_profiles(client_id, client_secret)

  • Returns a dataframe containing all user profiles

  • client_id: the client id you generated when you created your API key

  • client_secret: the client secret you generated when you created your API key

  • The following example gets all user profiles and stores them in a dataframe named "profiles".

client_id <- "..."
client_secret <- "..."
profiles <- paxos_list_profiles(client_id, client_secret)
Clone this wiki locally