Skip to content

anzilr/MSoneAPI

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 

Repository files navigation

MSoneAPI

Unofficial API for malayalamsubtitles.org powered by FastAPI

API

End points

For normal query

https://msoneapi.up.railway.app/{query}

To fetch the synopsis

https://msoneapi.up.railway.app/synopi/{msone_release_number}

Test the API here

Example for Python

import requests

headers = {'User-Agent': 'Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/108.0.0.0 Safari/537.36',
           'accept': 'application/json',
           }

s = requests.Session()
s.headers.update(headers)

def get_results(query):
    response = s.get(f'https://msoneapi.up.railway.app/{query}', headers=headers)
    results = response.json()
    return results
        
def get_synopsis(query):
    response = s.get(f'https://msoneapi.up.railway.app/synopi/{query}', headers=headers)
    results = response.json()
    return results

Telegram Bot

Test the live bot

For example code, visit MSone Bot

About

Unofficial API for malayalamsubtitles.org powered by FastAPI

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published