├── index.html
└── swagger.json
/index.html:
--------------------------------------------------------------------------------
1 |
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 | Snapchat API Docs
11 |
12 |
13 |
17 |
18 |
19 |
20 |
24 |
32 |
33 |
34 |
--------------------------------------------------------------------------------
/swagger.json:
--------------------------------------------------------------------------------
1 | {
2 | "swagger": "2.0",
3 | "info": {
4 | "description": "Snapchat API",
5 | "version": "1.0.0",
6 | "title": "Snapchat API",
7 | "contact": {
8 | "email": "skyqutip@gmail.com"
9 | },
10 | "license": {
11 | "name": "UNLICENSED"
12 | }
13 | },
14 | "host": "glacial-forest-88050.herokuapp.com",
15 | "basePath": "/",
16 | "tags": [
17 | {
18 | "name": "Snapchat"
19 | }
20 | ],
21 | "schemes": ["https"],
22 | "paths": {
23 | "/get/{username}": {
24 | "get": {
25 | "tags": ["username"],
26 | "summary": "Get Snapchat content for User",
27 | "description": "Returns a single pet",
28 | "operationId": "username",
29 | "produces": ["application/json"],
30 | "parameters": [
31 | {
32 | "name": "username",
33 | "in": "path",
34 | "description": "Username of person",
35 | "required": true,
36 | "type": "string"
37 | },
38 | {
39 | "name": "page",
40 | "in": "query",
41 | "description": "Page number",
42 | "required": false,
43 | "type": "string"
44 | },
45 | {
46 | "name": "limit",
47 | "in": "query",
48 | "description": "Number of result to return per page",
49 | "required": false,
50 | "type": "string"
51 | }
52 | ],
53 | "responses": {
54 | "200": {
55 | "description": "successful operation"
56 | },
57 | "400": {
58 | "description": "Invalid ID supplied"
59 | },
60 | "404": {
61 | "description": "Pet not found"
62 | }
63 | }
64 | }
65 | }
66 | }
67 | }
68 |
--------------------------------------------------------------------------------