+
Usage
++ For exhaustive and up to date documentation see + /docs +
Quote
-
Returns a random 2 Chainz Quote in json
format like the
following example:
send a get
request to
https://chainz.ansonbiggs.com/api/quotehttps://2chainz.ansonbiggs.com/api/quote
{
- "quote": "I got a pocket full of money, it got me walking all slew-foot"
- }
-
- Parameters
- -
- This endpoint also supports an optional batch
parameter
- to get more than one quote per request. Maximum quotes that the
- endpoint will return is the amount of quotes in
- quotes.py
- and is subject to change. An example return from
-
- https://chainz.ansonbiggs.com/api/quote?batch=2
-
{
- "quotes": [
- "I'm in the kitchen. Yams errrrrwhere.",
- "Started from the trap, now I rap"
- ]
- }
- Alias
+Alias
Returns a random 2 Chainz alias in json
format. The
return values are weighted and a full list can be seen in
@@ -151,20 +112,21 @@
send a get
request to
https://chainz.ansonbiggs.com/api/aliashttps://2chainz.ansonbiggs.com/api/alias
{
- "alias": "Dos Cadenas"
- }
+ "alias": "Dos Cadenas"
+}