This repository was archived by the owner on Feb 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
13 changed files
with
388 additions
and
66 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Also Include Me | ||
Yay! I was also included. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Include Me | ||
Yay! I was included. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
# Test | ||
This is a markdown file without frontmatter |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
--- | ||
title: Test | ||
|
||
language_tabs: | ||
- bash | ||
- ruby | ||
- python | ||
|
||
toc_footers: | ||
- <a href='#'>Sign Up for a Developer Key</a> | ||
- <a href='http://github.com/mpociot/whiteboard'>Documentation Powered by Whiteboard</a> | ||
|
||
includes: | ||
- partials/* | ||
|
||
--- | ||
|
||
# Introduction | ||
|
||
Welcome to the Kittn API! You can use our API to access Kittn API endpoints, which can get information on various cats, kittens, and breeds in our database. | ||
|
||
We have language bindings in Shell, Ruby, and Python! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right. | ||
|
||
# Authentication | ||
|
||
> To authorize, use this code: | ||
```ruby | ||
require 'kittn' | ||
|
||
api = Kittn::APIClient.authorize!('meowmeowmeow') | ||
``` | ||
|
||
```python | ||
import kittn | ||
|
||
api = kittn.authorize('meowmeowmeow') | ||
``` | ||
|
||
```bash | ||
# With shell, you can just pass the correct header with each request | ||
curl "api_endpoint_here" | ||
-H "Authorization: meowmeowmeow" | ||
``` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,42 @@ | ||
--- | ||
title: Test With Front Matter | ||
|
||
language_tabs: | ||
- ruby | ||
- python | ||
- bash | ||
|
||
toc_footers: | ||
- <a href='http://google.com'>Hey</a> | ||
|
||
logo: false | ||
|
||
--- | ||
|
||
# Introduction | ||
|
||
Welcome to the Kittn API! You can use our API to access Kittn API endpoints, which can get information on various cats, kittens, and breeds in our database. | ||
|
||
We have language bindings in Shell, Ruby, and Python! You can view code examples in the dark area to the right, and you can switch the programming language of the examples with the tabs in the top right. | ||
|
||
# Authentication | ||
|
||
> To authorize, use this code: | ||
```ruby | ||
require 'kittn' | ||
|
||
api = Kittn::APIClient.authorize!('meowmeowmeow') | ||
``` | ||
|
||
```python | ||
import kittn | ||
|
||
api = kittn.authorize('meowmeowmeow') | ||
``` | ||
|
||
```bash | ||
# With shell, you can just pass the correct header with each request | ||
curl "api_endpoint_here" | ||
-H "Authorization: meowmeowmeow" | ||
``` |
Oops, something went wrong.