{"_id":"5429d2441163360800ed32fd","is_link":false,"version":{"_id":"5429d2441163360800ed32fa","__v":1,"project":"5429d2431163360800ed32f7","createdAt":"2014-09-29T21:42:28.016Z","releaseDate":"2014-09-29T21:42:28.015Z","categories":["5429d2441163360800ed32fb"],"is_deprecated":false,"is_hidden":false,"is_beta":false,"is_stable":true,"codename":"","version_clean":"1.0.0","version":"1.0"},"category":{"_id":"5429d2441163360800ed32fb","version":"5429d2441163360800ed32fa","__v":1,"pages":["5429d2441163360800ed32fd"],"project":"5429d2431163360800ed32f7","sync":{"url":"","isSync":false},"reference":false,"createdAt":"2014-09-29T21:42:28.032Z","from_sync":false,"order":9999,"slug":"documentation","title":"Documentation"},"__v":5,"project":"5429d2431163360800ed32f7","user":"5429c6392e366c080086b72b","updates":[],"next":{"pages":[],"description":""},"createdAt":"2014-09-29T21:42:28.061Z","link_external":false,"link_url":"","sync_unique":"","hidden":false,"api":{"basic_auth":false,"results":{"codes":[]},"try":true,"auth":"never","params":[],"url":""},"isReference":false,"order":999,"body":"[block:api-header]\n{\n  \"type\": \"basic\",\n  \"title\": \"Getting started using HTTPie\"\n}\n[/block]\nInstall [HTTPie](http://httpie.org) - a human-friendly command line HTTP client.\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ pip install --upgrade httpie\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nSome basic usage:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"$ http [flags] [METHOD] URL [ITEM [ITEM]]\",\n      \"language\": \"shell\"\n    }\n  ]\n}\n[/block]\nOnce installed you can query the API for all the colours:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http GET http://agile-sierra-7809.herokuapp.com/api/v1/colours/?limit=\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]\nOr just a certain number of colours:\n[block:code]\n{\n  \"codes\": [\n    {\n      \"code\": \"http GET http://agile-sierra-7809.herokuapp.com/api/v1/colours/?limit=6\",\n      \"language\": \"http\"\n    }\n  ]\n}\n[/block]","excerpt":"This page will help you get started with Collette. You'll be up and running in a jiffy!","slug":"getting-started","type":"basic","title":"Getting Started with Collette"}

Getting Started with Collette

This page will help you get started with Collette. You'll be up and running in a jiffy!

[block:api-header] { "type": "basic", "title": "Getting started using HTTPie" } [/block] Install [HTTPie](http://httpie.org) - a human-friendly command line HTTP client. [block:code] { "codes": [ { "code": "$ pip install --upgrade httpie", "language": "shell" } ] } [/block] Some basic usage: [block:code] { "codes": [ { "code": "$ http [flags] [METHOD] URL [ITEM [ITEM]]", "language": "shell" } ] } [/block] Once installed you can query the API for all the colours: [block:code] { "codes": [ { "code": "http GET http://agile-sierra-7809.herokuapp.com/api/v1/colours/?limit=", "language": "http" } ] } [/block] Or just a certain number of colours: [block:code] { "codes": [ { "code": "http GET http://agile-sierra-7809.herokuapp.com/api/v1/colours/?limit=6", "language": "http" } ] } [/block]