Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

github.com/gdscwce/game-facts-api

Package Overview
Dependencies
Alerts
File Explorer
Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

github.com/gdscwce/game-facts-api

  • v0.0.0-20221022102242-c3d396ff9ba6
  • Source
  • Go
  • Socket score

Version published
Created
Source

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

MethodPathDescription
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 "&"

FAQs

Package last updated on 22 Oct 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc