All Projects → DukeNgn → Dog-facts-API

DukeNgn / Dog-facts-API

Licence: MIT license
An API returns random dog facts 🐶

Programming Languages

python
139335 projects - #7 most used programming language
Dockerfile
14818 projects

Projects that are alternatives of or similar to Dog-facts-API

flask-boilerplate
A Flask Boilerplate to quickly get started with production-grade flask application. It has some additional packages pre-configured for ease of development.
Stars: ✭ 43 (-6.52%)
Mutual labels:  flask-application
searchhub
Fusion demo app searching open-source project data from the Apache Software Foundation
Stars: ✭ 42 (-8.7%)
Mutual labels:  flask-application
pycroft
The new AG DSN management system
Stars: ✭ 16 (-65.22%)
Mutual labels:  flask-application
Python-Studies
All studies about python
Stars: ✭ 56 (+21.74%)
Mutual labels:  flask-application
codecat
CodeCat is an open-source tool to help you find/track user input sinks and security bugs using static code analysis. These points follow regex rules. Beta version.
Stars: ✭ 265 (+476.09%)
Mutual labels:  flask-application
project-demo
An Online Web Game "You Perform, I Guess!" based on C3D Model
Stars: ✭ 36 (-21.74%)
Mutual labels:  flask-application
bank-statement-analysis
Flask application generating interactive visualisations from bank statements PDF documents
Stars: ✭ 31 (-32.61%)
Mutual labels:  flask-application
talkshow
A Call 4 Papers System - A simple base app as example of Flask Architecture
Stars: ✭ 56 (+21.74%)
Mutual labels:  flask-application
Nectus
A boilerplate Flask API for a Fullstack Project with some additional packages and configuration prebuilt. ⚙
Stars: ✭ 32 (-30.43%)
Mutual labels:  flask-application
certfico
App para geração e envio de certificados para eventos
Stars: ✭ 20 (-56.52%)
Mutual labels:  flask-application
Python-flask-with-uwsgi-and-nginx
Python Flask with Nginx and uWSGI
Stars: ✭ 34 (-26.09%)
Mutual labels:  flask-application
TopicsExplorer
Explore your own text collection with a topic model – without prior knowledge.
Stars: ✭ 53 (+15.22%)
Mutual labels:  flask-application
avatar-gen
pillow 生成头像,中英文首字母或者随机像素化。Using pillow for generate avatars, first letter of string in Chinese and English or random pixel like avatars.
Stars: ✭ 31 (-32.61%)
Mutual labels:  flask-application
localtileserver
🌐 dynamic tile server for visualizing rasters in Jupyter with ipyleaflet or folium
Stars: ✭ 190 (+313.04%)
Mutual labels:  flask-application
flask-template
Template for creating Flask based projects
Stars: ✭ 60 (+30.43%)
Mutual labels:  flask-application
vue-flask-template
📦 一个快速搭建 Web 应用的模版!前端使用渐进式框架 Vue,后端使用微框架 Flask
Stars: ✭ 29 (-36.96%)
Mutual labels:  flask-application
jack bunny
Inspired by Facebook's bunnylol search engine.
Stars: ✭ 19 (-58.7%)
Mutual labels:  flask-application
eleanor
Code used during my Chaos Engineering and Resiliency Patterns talk.
Stars: ✭ 14 (-69.57%)
Mutual labels:  flask-application
Telegram-mailer
Web-application for sending messages to list of users. Use several accounts to avoid ban.
Stars: ✭ 28 (-39.13%)
Mutual labels:  flask-application
MiniBookSearch
📗 Simple book management system using Web API "openBD" / Python(Flask)+ Vue.js + Elasticsearch
Stars: ✭ 30 (-34.78%)
Mutual labels:  flask-application

This project is deprecated and has been migrated to a new repo: Dog-Facts-API-v2 with support for CORS, built with Python and FastAPI. This repository will be archived soon. The heroku api service will be kept alive for a while before terminated.

Dog Facts API (DEPRECATED)

An API that will return random facts about dog.

Inspirations

  • The project is a port of kinduff/dog-api using Python with Flask.
  • There is still no other dog facts api while there are many APIs supporting cat facts. It is unfair !!!
  • I'm a dog person. Cats are jerks.

Usage:

  • https://dog-facts-api.herokuapp.com/api/v1/resources/dogs/all to get all the facts at once.
  • Change all to parameter ?number= to specify the number of facts you want to receive.
  • Change all to parameter ?index= to specify the index of the fact you are targeting.

Note: The project is being hosted by Heroku with free dyno; thus, there will be potential delay the first time you make a request (app went to sleep after dyno does not receive traffic in 1 hour). Please be patient, and the call will be faster next time.

Rebuild the project:

  • Clone the repo.
  • Run python3 -m venv .env to create a virtual environment.
  • Run source .env/bin/activate to activate the virtual environment.
  • Run pip install requirements.txt.
  • Run python3 app.py.
  • App starts at port 5000 by default, but can be configured with a .env file.

Example:

  • https://dog-facts-api.herokuapp.com/api/v1/resources/dogs?number=1 returns:
[
    {
        "fact": "Many foot disorders in dogs are caused by long toenails."
    }
]
  • https://dog-facts-api.herokuapp.com/api/v1/resources/dogs?number=2 returns:
[
    {
        "fact": "Endal was the first dog to ride on the London Eye (the characteristic ferris wheel in London, England), and was also the first known dog to successfully use a ATM machine."
    },
    {
        "fact": "At the age of 4 weeks, most dogs have developed the majority of their vocalizations."
    }
]
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].