From 53b6fe156eb81c0bbecaacec104774868126c6af Mon Sep 17 00:00:00 2001 From: Robert Lord Date: Thu, 23 Feb 2017 21:54:36 -0600 Subject: [PATCH] Remove multiple language example from readme, users should just check wiki for instructions --- source/index.html.md | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/source/index.html.md b/source/index.html.md index 215c048..fc26b19 100644 --- a/source/index.html.md +++ b/source/index.html.md @@ -5,8 +5,7 @@ language_tabs: - shell - ruby - python - - javascript--browser: Browser! - - javascript--node: Node! + - javascript toc_footers: - Sign Up for a Developer Key @@ -48,16 +47,12 @@ curl "api_endpoint_here" -H "Authorization: meowmeowmeow" ``` -```javascript--browser +```javascript const kittn = require('kittn'); let api = kittn.authorize('meowmeowmeow'); ``` -```javascript--node -// node code here! -``` - > Make sure to replace `meowmeowmeow` with your API key. Kittn uses API keys to allow access to the API. You can register a new Kittn API key at our [developer portal](http://example.com/developers). @@ -93,17 +88,13 @@ curl "http://example.com/api/kittens" -H "Authorization: meowmeowmeow" ``` -```javascript--browser +```javascript const kittn = require('kittn'); let api = kittn.authorize('meowmeowmeow'); let kittens = api.kittens.get(); ``` -```javascript--node -// node code here! -``` - > The above command returns JSON structured like this: ```json @@ -163,17 +154,13 @@ curl "http://example.com/api/kittens/2" -H "Authorization: meowmeowmeow" ``` -```javascript--browser +```javascript const kittn = require('kittn'); let api = kittn.authorize('meowmeowmeow'); let max = api.kittens.get(2); ``` -```javascript--node -// node code here! -``` - > The above command returns JSON structured like this: ```json