Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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/)

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

-

/api/acc/anonymous

Obtaining a Bearer token.


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

-

/api/search

Search in DB (users, movies, shows, pesons, users, generes).


Headers
NameDescription



Bearer
string
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"]}'
```



-

/api/products

Get Datas movies and showes from IDs


Headers
NameDescription



Bearer
string
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]}'
```



-

/api/products/{}

Get Data movie or showes from ID


Headers
NameDescription



Bearer
string
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/{}"
```



-

/api/genres

Get genres movie from IDs


Headers
NameDescription



Bearer
string
token
A unique token that is needed to link to the user's account. Not required for this





Content-Type
string
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]}'
```



-

/api/products/{}/similars

Get similiars movie and shows from ID

Headers
NameDescription



Bearer
string
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"
```



-

/api/products/{}/cinemas

Get cinemas movie from ID

Headers
NameDescription



Bearer
string
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"
```



-

/api/products/{}/streamings

Get streamings movie from ID

Headers
NameDescription



Bearer
string
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"
```



-

/api/products/{}/watches

Get commentaries movie from ID

Query
ParametrsDescription



limit
int

Get a certain number of comments. Standard value is 10





offset
int

Moving through comments. Default 0





with_reviews
boolean

Get responses to comments




Headers
NameDescription



Bearer
string
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

-

/api/acc/apple

Loggin whith apple ID.


Headers
NameDescription



Bearer
string
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"}'
```



-

/api/acc/facebook

Loggin whith facebook.


Headers
NameDescription



Bearer
string
token
A unique token that is needed to link to the user's account




-

/api/acc/google

Loggin whith Google.


Headers
NameDescription



Bearer
string
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

-

/api/acc/session

Delete activity session.


Headers
NameDescription



Bearer
string
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: '
```