Get hold of JSON, JSON-LD and OAuth 1.0a libraries for your platform.
Follow these steps:
- Register new account at https://grids.by/
- Log in at https://grids.by/
- Go to https://grids.by/my/graphs/ and click "Create new graph" button
- Set IRI-name (something alphanumeric would be just fine), Title and Description and confirm your choice by clicking button.
- Chose "Upload Data" tab and upload your dataset (there is a link to dummy example, if you don't have anything to upload right now)
Follow these steps:
- Go to NEW URL COMING SOON and click "Add Application…" button
- Set Title, Description and in "Access Rights" section set checkbox on the crossing of "Read" column and row which corresponds to the graph which you created (you might need to scroll down a bit)
- Click "Save" and WRITE DOWN OAuth Consumer credentials, which will be given to you
- Click "Proceed", you will be transferred to the new screen
You can stop at this point, if you're interested in 3-legged OAuth flow (application will need to request additional privileges from user).
But, if you're interested in 0-legged OAuth flow (without access to users private data) proceed with 2 more steps:
- Click "Create new Access-Token" button
- Write something in Comment field, "Create" and, again, WRITE DOWN OAuth Access credentials, which will be given to you
Now, you have 5 pieces of information, which you'll need to hardcode into your app:
- graph IRI
- OAuth Consumer Token
- OAuth Consumer Secret
- OAuth Access Token (0-legged flow only)
- OAuth Access Secret (0-legged flow only)
- Request-token endpoint:
https://api.grids.by/oauth/request_token
- Token-authorization endpoint:
https://grids.by/oauth/authorize
- Access-token (exchange) endpoint:
https://api.grids.by/oauth/access_token
API-description was moved into separate document.