Giter Club home page Giter Club logo

programming-quotes-api's Introduction

Programming Quotes API

Programming Quotes API for open source projects.

Docs: programming-quotes-api.herokuapp.com

Convention: The names of the authors are as on Wikipedia.

I am open to your feature requests. Also, you can send me your client apps if you want to share it with the world :)

API Documentation

GET /quotes (get all quotes)

GET /quotes/random (get random quote)

GET /quotes/5a6ce86f2af929789500e824 (get quote by id)

GET /quotes/author/Edsger W. Dijkstra (get quote by author)

You can also POST, PUT, PATCH and DELETE. See API documentation for more.

Author info

You can use Wikipedia API for author's image and info.

To get author's image:

https://en.wikipedia.org/w/api.php?action=query&titles=Fred%20Brooks&prop=pageimages&format=json&pithumbsize=250

To get author info:

https://en.wikipedia.org/w/api.php?action=query&titles=Fred%20Brooks&prop=extracts&format=json&exintro=1

Note that you can change titles, pithumbsize and other params. The %20 character (as in Fred%20Brooks) is for empty space.

Development

Start the project locally:

dotnet build
dotnet watch run

Listening on: http://localhost:5000

Deploy:

heroku login
heroku git:remote -a programming-quotes-api
heroku buildpacks:set https://github.com/jincod/dotnetcore-buildpack

git push heroku master

Tutorials

TODO

  • add User patch

programming-quotes-api's People

Contributors

dependabot[bot] avatar mudroljub avatar nunorafaelrocha avatar stephanzaaijer avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.