Coder Social home page Coder Social logo

mskian / iplscore Goto Github PK

View Code? Open in Web Editor NEW
6.0 4.0 2.0 145 KB

Cricket API for Get the Live IPL Cricket Score ๐Ÿ

License: MIT License

PHP 39.21% CSS 30.07% JavaScript 11.87% HTML 18.85%
score scoreboard livescore cricket cricket-api cricket-app cricket-score html css php

iplscore's Introduction

IPL Score ๐Ÿ

Uptime Robot status

Cricket API for Get the Live IPL Cricket Score from espncricinfo.com.

Simple Scrape Method to Fetch the Live Cricket Score from espncricinfo.com

Methods Used โš™

  • PHP cURL - Read the Page Content
  • preg_match - Scrape the Data

Requirements

  • PHP 7.2 or 7.3 or 7.4
  • PHP cURL
  • Server with PHP Support
  • Works with Apache2, Nginx and Lightspeed
  • SSL for Secure Connections

API ๐Ÿ”

  • Get the Live Score Page URL score from - https://www.espncricinfo.com/scores
/api.php?url=https://www.espncricinfo.com/series/8048/game/1216492/mumbai-indians-vs-chennai-super-kings-1st-match-indian-premier-league-2020-21
  • Get Output in JSON Format
{
    "success": true,
    "livescore": {
        "score": "MI 39\/0 (3.4 ov, Quinton de Kock 26*, Rohit Sharma 12*, Lungi Ngidi 0\/13) - Live - Mumbai Indians vs Chennai Super Kings, Indian Premier League 2020 2020, 1st Match Match Live Score"
    }
}

Usage ๐Ÿ•

  • Download this Repo or Public Folder
  • Update the Live Match URL in /assets/js/score.js

This is Example site and For My Personal Use you can Feel Free to Edit or Modify the Site

Development ๐Ÿฏ

git clone https://github.com/mskian/iplscore.git
cd iplscore # for test the API
cd public # Modify the site

Stay tuned for More Updates ๐Ÿ˜‰

LICENSE โœ…

MIT

iplscore's People

Contributors

mskian avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

iplscore's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.