Skip to content

Jupiee/getcomics-api

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

46 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

license-img

Unofficial Getcomics API (v2.2.0)

Unofficial API for getcomics.org using Selectolax scraper and Fast API

Features

  • Search for comics by title or keywords
  • Get the latest comics
  • Search for comics by tag
  • Retrieve detailed metadata for each comic, including title, year, cover image, size, description and download links

Error Codes

This is the list of error codes

Code Description
200 OK
201 Articles not found
202 Invalid page number

Installation

  1. Clone the repository:

    git clone https://github.com/Jupiee/getcomics-api.git
  2. Install required dependencies:pip install -r requirements.txt

    pip install -r requirements.txt

Usage

  1. First create a .env file and fill it with your mongodb database URI:

    URI= YOUR_MONGODB_URI
  2. Run the main.py file

Docker Usage

  1. First create a .env file and fill it with your mongodb database URI:

    URI= YOUR_MONGODB_URI
  2. Build the image:

    docker build -t getcomics-api .
  3. Run the image:

    docker run -p 80:80 getcomics-api

Contributing

Contributions to this project are welcome! If you find any bugs or have suggestions for new features, please open an issue or submit a pull request.

License

MIT License

About

An unofficial API for getcomics.org

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors