Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/AN0NCER/mustapp-api
Get API Mustapp application from IOS and ANDROID (https://mustapp.com/)
https://github.com/AN0NCER/mustapp-api
anime api films mustapp requests video web
Last synced: 3 months ago
JSON representation
Get API Mustapp application from IOS and ANDROID (https://mustapp.com/)
- Host: GitHub
- URL: https://github.com/AN0NCER/mustapp-api
- Owner: AN0NCER
- License: mit
- Created: 2022-09-10T12:09:36.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2022-09-10T19:56:16.000Z (about 2 years ago)
- Last Synced: 2024-05-21T06:01:46.048Z (6 months ago)
- Topics: anime, api, films, mustapp, requests, video, web
- Homepage:
- Size: 53.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## **Mustapp API**
1.0.0
[Base URL: https://mustapp.com]
This API was taken from the Mustapp application. To use requests, you need to specify Bearer which I designated as
-
Obtaining a Bearer token.
/api/acc/anonymous
Responses
CodeDescription
200
Successful operation
```js
{
"id" : 0,
"token" : "string"
}
```
Curl
```curl
curl "https://mustapp.com/api/acc/anonymous" \
-X POST
```
We can say that everything starts with this request. This request creates a user in guest mode, then you can authorize## View management
-
Search in DB (users, movies, shows, pesons, users, generes).
/api/search
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for search
Body
```js
{
"query": "string",
"types": [
"movies",
"shows",
"persons",
"users",
"genres"
]
}
```
Responses
CodeDescription
200
Successful operation
```js
{
"persons" : [
0
],
"users" : [
0
],
"genres" : [
0
],
"movies" : [
0
],
"shows" : [
0
],
"products" : [
0
]
}
```
Curl
```curl
curl "https://mustapp.com/api/search" \
-X POST \
-H 'Content-Type: application/json; charset=utf-8' \
-d '{"query":"string","types":["movies","shows","persons","users","genres"]}'
```
-
Get Datas movies and showes from IDs
/api/products
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Body
```js
{
"ids": [
0
]
}
```
Responses
CodeDescription
200
Successful operation
```js
[
{
"trailer_url" : "string",
"release_date" : "1970-01-01",
"id" : 0,
"poster_file_path" : "string",
"title" : "string",
"items_count" : 0,
"subtitle" : null,
"runtime" : 0,
"type" : "string",
"items_released_count" : 0
}
]
```
Curl
```curl
curl "https://mustapp.com/api/products/" \
-X POST \
-H 'Content-Type: application/json; charset=utf-8' \
-H 'Bearer: 0ba41ebd-5df1-4d90-ac0c-b642a9261779' \
-d '{"ids":[0]}'
```
-
Get Data movie or showes from ID
/api/products/{}
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Responses
CodeDescription
200
Successful operation
```js
{
"movie" : {
"reviews_count" : 0,
"crew" : [
{
"roles" : [
"string",
],
"person" : {
"gender" : null,
"id" : 0,
"related_movies_count" : 0,
"related_shows_count" : 0,
"overview" : null,
"name" : "string",
"image_uri" : "string"
}
}
],
"cast" : [
{
"roles" : [
"string",
],
"person" : {
"gender" : null,
"id" : 0,
"related_movies_count" : 0,
"related_shows_count" : 0,
"overview" : null,
"name" : "string",
"image_uri" : "string"
}
}
],
"soundtrack_url" : null,
"overview" : "string",
"want_count" : 0,
"watch_count" : 0
},
"youtube" : null,
"id" : 0,
"poster_file_path" : "string",
"subtitle" : null,
"items_released_count" : 0,
"show" : null,
"type" : "movie",
"episode" : null,
"season" : null,
"title" : "string",
"trailer_url" : "string",
"items_count" : 0,
"release_date" : "1970-01-01",
"genres" : [
0
],
"rate" : {
"mustapp" : 0,
"imdb" : 0,
"rotten_tomatoes" : null
},
"runtime" :
}
```
Curl
```curl
curl "https://mustapp.com/api/products/{}"
```
-
Get genres movie from IDs
/api/genres
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Content-Typestring
application/json
Body
```js
{
"ids": [
0
]
}
```
Responses
CodeDescription
200
Successful operation
```js
[
{
"id" : 0,
"name" : "string",
"emoji" : "👊"
}
]
```
Curl
```curl
curl "https://mustapp.com/api/genres" \
-X POST \
-H 'Content-Type: application/json' \
-d '{"ids":[0]}'
```
-
Get similiars movie and shows from ID
/api/products/{}/similars
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Responses
CodeDescription
200
Successful operation
```js
[
{
"trailer_url" : "string",
"release_date" : "1970-01-01",
"id" : 0,
"poster_file_path" : "0",
"title" : "string",
"items_count" : 0,
"subtitle" : null,
"runtime" : 0,
"type" : "string",
"items_released_count" : 0
}
]
```
Curl
```curl
curl "https://mustapp.com/api/products/{}/similars"
```
-
Get cinemas movie from ID
/api/products/{}/cinemas
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Responses
CodeDescription
200
Successful operation
```js
[
]
```
Curl
```curl
curl "https://mustapp.com/api/products/{}/cinemas"
```
-
Get streamings movie from ID
/api/products/{}/streamings
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Responses
CodeDescription
200
Successful operation
```js
[
{
"name": "string,
"type": "string",
"image_uri": "string",
"subscription_required": false,
"coming_soon": false,
"links": [
{
"type": "string",
"url": "string"
}
],
"link": "string",
"price": {
"min": 0.0,
"max": 0.0,
"currency_code": "string"
}
}
]
```
Curl
```curl
curl "https://mustapp.com/api/products/{}/streamings"
```
-
Get commentaries movie from ID
/api/products/{}/watches
Query
ParametrsDescription
limitint
Get a certain number of comments. Standard value is 10
offsetint
Moving through comments. Default 0
with_reviewsboolean
Get responses to comments
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account. Not required for this
Responses
CodeDescription
200
Successful operation
```js
{
"watches" : [
{
"rate" : 0,
"watched_at" : "string",
"review" : {
"reviewed_at" : "string",
"body" : "string"
},
"discussion" : {
"discussion_id" : 0,
"likes_count" : 0,
"replies_count" : 0,
"liked" : null
},
"user" : {
"image_uri" : "string",
"gender" : "string",
"id" : 0,
"you_follow" : null,
"is_private" : false,
"verified" : false,
"follows_you" : null,
"uri" : "string",
"name" : "string"
}
}
],
"query" : null,
"offset" : 0,
"total" : 0,
"limit" : 0
}
```
400
Bad Request
```js
{
"error" : {
"message" : "invalid limit provided.",
"code" : "invalid_model"
}
}
```
Curl
```curl
curl "https://mustapp.com/api/products/14659/watches?limit=10&offset=0&with_reviews=true"
```
## Authorization-
Loggin whith apple ID.
/api/acc/apple
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account
Body
```js
{
"app_id": "ru.ayyo.must",
"force": false,
"code": "string",
"name": "string"
}
```
Responses
CodeDescription
200
Successful operation
```js
{
"name": null,
"phone": null,
"facebook_name": null,
"facebook_id": null,
"twitter_name": null,
"twitter_id": null,
"is_private": false,
"timezone": "string",
"has_default_uri": false,
"store_country_code": "string",
"cinema_country_code": "string",
"prefered_language_code": "string",
"gender": null,
"image_uri": null,
"bio_message": null,
"links": {},
"google_id": null,
"google_name": null,
"is_youtube_linked": null,
"apple_id": "string",
"apple_email": "string",
"apple_name": null,
"id": 0,
"uri": "string",
"is_anonymous": false
}
```
Curl
```curl
curl "https://mustapp.com/api/acc/apple" \
-X PUT \
-H 'Bearer: ' \
-d '{"code":"string","force":false,"app_id":"ru.ayyo.must","name":"string"}'
```
-
Loggin whith facebook.
/api/acc/facebook
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account
-
Loggin whith Google.
/api/acc/google
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account
Body
```js
{
"force": false,
"authorization_code": "string"
}
```
Responses
CodeDescription
200
Successful operation
```js
{
"name": "string",
"phone": "string",
"facebook_name": null,
"facebook_id": null,
"twitter_name": null,
"twitter_id": null,
"is_private": true,
"timezone": "string",
"has_default_uri": false,
"store_country_code": "string",
"cinema_country_code": "string",
"prefered_language_code": "string",
"gender": "string",
"image_uri": "string",
"bio_message": null,
"links": {},
"google_id": "string",
"google_name": "string",
"is_youtube_linked": true,
"apple_id": null,
"apple_email": null,
"apple_name": null,
"id": 0,
"uri": "string",
"is_anonymous": false
}
```
Curl
```curl
curl "https://mustapp.com/api/acc/google" \
-X PUT \
-H 'Bearer: ' \
-d '{"force":false,"authorization_code":"string"}'
```
## Session-
Delete activity session.
/api/acc/session
Headers
NameDescription
Bearerstring
token
A unique token that is needed to link to the user's account
Responses
CodeDescription
204
Successful operation
```js```
Curl
```curl
curl "https://mustapp.com/api/acc/session" \
-X DELETE \
-H 'Bearer: '
```