Giter VIP home page Giter VIP logo

game-facts-api's Introduction

Game Facts API

Helps users fetch facts about any games to integrate into their own games, quizzes or applications.


Tech Stack ๐Ÿ’ป

Python FastAPI



Setting up Virtual Environment


Venv is a tool that creates an isolated environment separate from other projects. Creating a virtual environment allows us to work on a Python project without affecting other projects that also use Python and their dependencies.


Install pip first

sudo apt-get install python3-pip

Then install venv

sudo apt install python3-venv

Now create a virtual environment

python3 -m venv {name_of_virtual_environment}

Activate your virtual environment:

source {name_of_virtual_environment}/bin/activate

Install all dependencies from requirements.txt

pip3 install -r requirements.txt

To deactivate:

deactivate

Run the project using uvicorn by executing the following command

uvicorn main:app --reload

Contributing

Contributions are always welcome!

See CONTRIBUTING.md for ways to get started.

Please adhere to this project's CODE OF CONDUCT.

Endpoints

Method Path Description
GET /fact/game={games}?limit={limit} Fetch facts about one or multiple games.
GET /fact/random?limit={limit} Fetch facts(s) about a random game.

Games must be seperated by "&"


game-facts-api's People

Contributors

sanjayausare avatar rising-entropy avatar arn2609 avatar nxrmxt avatar raodotsh avatar sandesh-03 avatar saurabhkhadsang avatar vishalmadle13 avatar siddhesh-2272 avatar swarangi203 avatar alfhad avatar xiller28 avatar the-att-21 avatar nischalgupta88 avatar ansh-sarkar avatar sahilotari avatar phxxebe avatar theyoungwolf1947 avatar proprogrammer18 avatar prasadcoding avatar nattrio avatar dbohara88 avatar atluya avatar ayush-thasale-007 avatar aniketkachole avatar abhi018 avatar devang-techcurve avatar create-dan avatar aquariyash avatar anuj2803 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.