API.getAccountInfos - Calaméo Knowledge Base
Not a Calaméo member yet?
Sign up now! It's FREE!
Get the latest news on Calaméo
Follow us on Facebook
Get Calaméo updates in real-time
Follow us on Twitter

API.getAccountInfos

From Calaméo Knowledge Base

This action allows you to recover the information about your account.

Contents

Request

The API key must have the commons access right.
Name Required Type Description
apikey yes string API public key
signature yes string Signature of the request. See How To Sign Your Requests.
expires yes timestamp UNIX timestamp for request expiration (GMT).
output string Format of the response. Either XML (default), JSON or PHP.

Response

Name Type Description
ID integer Account's ID
Name string Account's name.
City string Town/city of the account.
Country string Country of the account, using the official two-letter code format
WebsiteName string Name of the website.
WebsiteUrl string Address of the website.
PublicUrl string Public URL of the account.

Example responses

     <City>...</City>
     <Country>...</Country>
     <Description>...</Description>
     <WebsiteName>...</WebsiteName>
     <WebsiteUrl>...</WebsiteUrl>
     <PublicUrl>...</PublicUrl>
  </content>

</response> </pre> -->

JSON

{
  response: {
    requestid: ...,
    requests: ...,
    status: ok,
    content: {
      ID: ...,
      Name: ...,
      Type: ...,
      City: ...,
      Country: ...,
      Description: ...,
      WebsiteName: ...,
      WebsiteUrl: ...,
      PublicUrl: ...
    }
  }
}


Error codes

See the Error Codes.