I decided to write a quick API that outputs quotes from AngelList founder Naval Ravikant's Twitter profile filled with wisdom and great advice. Naval's thread about "getting rich (without getting lucky)" has been referenced countless times and has been a hit on Twitter.
The main two endpoints with this API as of right now are to return all quotes and to return a random quote.
Specific quote, by id number:
Clone the API:
git clone https://github.com/avijeets/naval-api
Then, go into the project directory and install its dependencies:
You're done! Now, run the API:
- Return a specified amount of quotes
- Search for quotes with query string
Accomodation for different threads Get tweet by ID number