Skip to content

Instantly share code, notes, and snippets.

@antonagestam
Last active August 29, 2015 14:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save antonagestam/095ddb4e4f4cb6029d28 to your computer and use it in GitHub Desktop.
Save antonagestam/095ddb4e4f4cb6029d28 to your computer and use it in GitHub Desktop.
Working with Zanox

Getting started with Zanox

Confused!? Yeah, me too ... Zanox' developer center is super-confusing and even finding the documentation for the correct API was tough. I had to realize that our app should access the Publisher API, which kind of makes sense but I didn't look at it first because I was thinking it's for publishing items to Zanox.

Getting an API key

Next step was to get an API key since accessing https://api.zanox.com/json/2011-03-01/products without authorization returned:

{
    "code": 101,
    "message": "No authentication information has been provided. ",
    "reason": "http header param Authorization was missing!"
}

This page suggested going to http://apps.zanox.com and creating an application even though it also says "At any time you can descide to publish your Application in the Store and share it with other Publishers.", which is not what I want to do.

By signing in (click Connect With Zanox), going to Developers -> My Own Application -> New Application, I managed to find API keys.

Auth docs: https://developer.zanox.com/web/guest/authentication/zanox-oauth/oauth-rest Product API docs: https://developer.zanox.com/web/guest/publisher-api-2011/get-products

@antonagestam
Copy link
Author

To be continued …

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment