Yahoo! cricket (proxy) API /w Django + RESTful Framework.

In Technology/Code
Scroll this

UPDATE 30-1-2018: Function updated to work on new Yahoo! Cricket API.


import requests
import json

def yahoo_cric_api(match_id):
    url = "{}.json".format(match_id)
    response = requests.request("GET", url)
    json_data = json.loads(response.text)
    return json_data


A small django app mirror for yahoo! cricket API.It just calls Yahoo! cricket api when a request is made and return’s json response.






I like to solve core problems with simple innovations!

More Posts - Website

Submit a comment