Git Product home page Git Product logo

programming-quotes-api's Introduction

Programming Quotes API

Programming Quotes API for open source projects.

Status: currently without free hosting.

Introduction

This open source API provides a large collection of programming quotes and their authors. These can be searched and favoured. This allows the citations to be filtered according to personal preferences. Quotes can also be edited, created and deleted.

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

Development

Start the project locally:

dotnet build
dotnet watch run

Listening on: http://localhost:5000 and https://localhost:5001

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 Swagger docs 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.

Tutorials

TODO

  • remove Helpers, move settings to env
  • deploy on some free server?

programming-quotes-api's People

Contributors

anirud2002 avatar cedi23 avatar dependabot[bot] avatar laars1 avatar mudroljub avatar nunorafaelrocha avatar stephanzaaijer avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

programming-quotes-api's Issues

Feture: We can have pictures of authors

Hello, I am Tornike. Maybe we can add the image URL of the Author in API?

It really makes the user interface of Quote more user-friendly when you can have eye contact with the quote author, that is something different than just reading the text.

Right now I am developing an iOS app for this and I would be very glad if we can add this feature.

request token error

Hello,

I cannot seem to request a token for this API (it keeps giving me an application error for both github and google). Is there a way that I can register so I can obtain a token, or is this closed?

Many thanks in advance.

Use quotes in another project

Hi there,

I came across your project while looking for quotes I can use in an example I'm building. Since I could not find a license, I'd like to ask you for permission to use quotes.json in my project.

Thanks!

Feature: Quotes can be favorited

Hi, It's Michael again xD, I just saw the endpoints for registering and authentication, It's so great you did that as I'm looking for a solution to add authentication to my app, and this is perfect!.

So the feature is to add the ability for each user to add quotes to favorites, and also get a list of his favorited quotes.

Thank You for This!

Website down

Application error
An error occurred in the application and your page could not be served. If you are the application owner, check your logs for details. You can do this from the Heroku CLI with the command
heroku logs --tail

Screen Shot 2020-02-10 at 3 28 04 PM

Separate DB and API components

Hi! Great work on collecting sacred thoughts but it would be really clean if the db calls are separate from the router.

Collaborate with the project

Hi! I see that you have TODOs in your readme. I'm a .NET developer; maybe I can help you with remove Helpers, move settings to env. Tell me if you want me to do it.

Feature: List all authors

Hi, I just landed on this repo while searching for an open api to build an app around it (for educational purpose). And I can't seem to find an endpoint to list all authors, If there isn't any, It would be great to add it.

Update: just found out that you're rewriting the app with .NET, so the endpoint may be there but not yet finished. If that's the case you can ignore this ๐Ÿ˜…

Thank you for this work it's Awesome!

Base URL

Please tell me where i found base url

API services down

Seems like all the API endpoints are not available at this time of writing (refer screenshot below):

image

I understand it could be due to the removal of Heroku Free plans, hence leading to the server endpoints not working at the moment.

Are there any plans by the dev team to switch to hosting on another platform instead?

Platforms like Render/Railway/Cyclic.sh do offer free hosting services (if I recall correctly) and are relatively easy to deploy into.

Hope to receive updates/clarifications by the dev team regarding this, thanks ๐Ÿ˜„

Integrate with API Hub

This's a really cool API would be cool if you wrote the wrapper in our open source project called API Hub. (github.com/dagmawibabi/apihub) Let me know if you'll! Thanks in advanced!

Random Endpoint Down

I believe the random endpoint is currently down.

This is the message I get if I try to load the page directly:

Edit: I didn't have a chance to check the other links.

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.