-
URL
/xkcd-suggest
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
q | * | String | xkcd query |
size | Integer | result size |
-
URL
/xkcd-list
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
start | * | Integer | start index, starts from 0, 0 means the last item |
reversed | Integer | 0 not reversed, 1 reversed, default 0 |
|
size | Integer | size of xkcd list, default 100 |
-
URL
/xkcd-thumb-up
-
Method
POST
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
comic_id | * | Integer | xkcd id |
-
URL
/xkcd-top
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
sortby | * | String | "thumb-up" |
size | Integer | result size |
-
URL
/xkcd-random
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
size | Integer | result size |
-
URL
/what-if-suggest
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
q | * | String | what if query |
size | Integer | result size |
-
URL
/what-if-list
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
start | * | Integer | start index, starts from 0, 0 means the last item |
reversed | Integer | 0 not reversed, 1 reversed, default 0 |
|
size | Integer | size of what if list, default 100 |
-
URL
/what-if-thumb-up
-
Method
POST
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
what_if_id | * | Integer | what if id |
-
URL
/what-if-top
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
sortby | * | String | "thumb-up" |
size | Integer | result size |
-
URL
/what-if-random
-
Method
GET
-
URL Params
Name | Required | Type | Description |
---|---|---|---|
size | Integer | result size |