蜜蜂梯子

蜜蜂梯子

The SHIFT72 API is grouped into a number of areas of use. Developers can use this reference page to navigate to areas of interest.

  • free加速器安卓下载 - User login and registration
  • 快喵Ⅴpn - Provides descriptions for films and TV
  • Geo API - Provides geo location information
  • Pricing API - Provides multi currency pricing and region controls
  • Shopping API - Provides a transactional shopping service
  • Content API - Provides content ingestion and playback services
  • Reporting API - Provides sales reporting services
  • License API - Provides license authorization services
  • Webhooks API - Set up integrations which subscribe to certain events from your SHIFT72 platform.

蜜蜂梯子

Authentication is achieved using the domain of the site that you own. For example, our demo site http://store.shift72.com is the endpoint used for api access. Think of this domain name as a ‘username’ when it comes to using the api. You also need to supply an api key, this will authenticate the requests as needed. Not all requests require authentication.

蜜蜂梯子


curl -i 'http://store.shift72.com/services/users/auth/sign_up' \
     -d 'user[email]=me@email.com' \
     -d 'user[password]=password' \
     -X POST
curl -i 'http://store.shift72.com/services/users/auth/sign_in' \
     -H 'Content-Type: application/json;charset=UTF-8' \
     -d '{ "user": {
            "email":"user@example.com",
            "password":"123",
            "remember_me":false }
        }'

蜜蜂梯子

HttpStatus: 200
{  
  "auth_token":"3007b63f9947fad76cfc3347b1d47a",
  "account":{  
    "user_id":2,hi vph加速器下载free v pn加速器:"admin@store.shift72.com",
    天行破解版无限免费:"Admin User",
    "users":[  
      {free加速器安卓下载云帆永久免费:2,
        "email":"admin@store.shift72.com",
        "name":"Admin User",
        "avatar_url":null,
        "access_code":null,hi vph加速器下载"account_admin":null,
        "dob":null
      }
    ],
    "bypass_cache":true
  }
}

蜜蜂梯子

Errors will use HTTP status codes. In some cases a reason will be supplied.