command
module
Version:
v0.0.0-...-c84cea7
Opens a new window with list of versions in this module.
Published: Jan 16, 2023
License: Apache-2.0
Opens a new window with license information.
Imports: 8
Opens a new window with list of imports.
Imported by: 0
Opens a new window with list of known importers.
README
¶
Nyaa-Api-Go 
This API is an Unofficial Nyaa API used for searching torrents.
Made for fun, you can use Nyaa API by @Vivek-Kolhe instead if you want more endpoints.
Usage
-
username
and id
are required parameters if using /user/{username}
and /id/{id}
endpoints.
-
If no parameters are specified in other endpoints like /anime
, /manga
, etc. It will return the latest uploaded torrents in the respective category.
-
For Filters, input filter=1
for No Remakes and filter=2
for Trusted Only.
-
Available Endpoints
Arguments |
Description |
q (Optional) |
Search query. |
s (Optional) |
Sorting parameter |
p (Optional) |
Page number |
f (Optional) |
Filter option |
o (Optional) |
Order of sorting. Defaults to Descending order. |
-
Search using ID
https://nyaa-api-go.herokuapp.com/id/{id}
-
Search using category
https://nyaa-api-go.herokuapp.com/{category}?q={search_query}
https://nyaa-api-go.herokuapp.com/{category}?q={search_query}&s={sorting_parameter}
https://nyaa-api-go.herokuapp.com/{category}?q={search_query}&s={sorting_parameter}&p={page_number}
https://nyaa-api-go.herokuapp.com/{category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}
https://nyaa-api-go.herokuapp.com/{category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}
-
Search using sub category
https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}
https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}&s={sorting_parameter}
https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}
https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}
https://nyaa-api-go.herokuapp.com/{category}/{sub_category}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}
-
Search using username
https://nyaa-api-go.herokuapp.com/user/{username}
https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}
https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}&s={sorting_parameter}
https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}
https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}
https://nyaa-api-go.herokuapp.com/user/{username}?q={search_query}&s={sorting_parameter}&p={page_number}&o={order}&f={filter}
Documentation
¶
There is no documentation for this package.
Source Files
¶
Directories
¶
Click to show internal directories.
Click to hide internal directories.