All Projects → MySportsFeeds → mysportsfeeds-r

MySportsFeeds / mysportsfeeds-r

Licence: MIT license
R wrapper functions for the MySportsFeeds Sports Data API

Programming Languages

r
7636 projects

Projects that are alternatives of or similar to mysportsfeeds-r

mysportsfeeds-api
Feature requests for the MySportsFeeds Sports Data API.
Stars: ✭ 44 (+62.96%)
Mutual labels:  nba, nfl, mlb, nba-stats, nhl, nba-analytics, sports-stats, sportsanalytics, sports-data
mysportsfeeds-node
NodeJS wrapper for the MySportsFeeds Sports Data API
Stars: ✭ 62 (+129.63%)
Mutual labels:  nba, nfl, mlb, nba-stats, nhl, sports-stats, sports-data
mysportsfeeds-python
Python wrapper for the MySportsFeeds Sports Data API
Stars: ✭ 77 (+185.19%)
Mutual labels:  mlb, nba-stats, sports-stats, sports-data
cfbscrapR
A scraping and aggregating package using the CollegeFootballData API
Stars: ✭ 25 (-7.41%)
Mutual labels:  sports-stats, sportsanalytics, sports-data
scrapeOP
A python package for scraping oddsportal.com
Stars: ✭ 99 (+266.67%)
Mutual labels:  nba, nfl, sports-data
NBA-Machine-Learning-Sports-Betting
NBA sports betting using machine learning
Stars: ✭ 150 (+455.56%)
Mutual labels:  nba, nba-analytics, sports-data
NBA-analytics
Short, offhand analyses of the NBA
Stars: ✭ 37 (+37.04%)
Mutual labels:  nba, nba-stats, nba-analytics
sport-stats
Sport stats UI components
Stars: ✭ 62 (+129.63%)
Mutual labels:  sportsanalytics, sports-data
boxball
Prebuilt Docker images with Retrosheet's complete baseball history data for many analytical frameworks. Includes Postgres, cstore_fdw, MySQL, SQLite, Clickhouse, Drill, Parquet, and CSV.
Stars: ✭ 79 (+192.59%)
Mutual labels:  sports-stats, sports-data
openrowingmonitor
A free and open source performance monitor for rowing machines
Stars: ✭ 29 (+7.41%)
Mutual labels:  sports-stats, sports-data
flask-react-d3-celery
A full-stack dockerized web application to visualize Formula 1 race statistics from 2016 to present, with a Python Flask server and a React front-end with d3.js as data visualization tool.
Stars: ✭ 20 (-25.93%)
Mutual labels:  sports-stats, sports-data
LazyMan-iOS
A simple app that lets you stream every live and archived NHL and MLB game from any of your iOS devices.
Stars: ✭ 73 (+170.37%)
Mutual labels:  mlb, nhl
nba-stats-client
🏀 JavaScript Client for stats from NBA.com
Stars: ✭ 29 (+7.41%)
Mutual labels:  nba, nba-stats
nflreadr
Efficiently download nflverse data
Stars: ✭ 38 (+40.74%)
Mutual labels:  nfl, sports-data
Sportsipy
A free sports API written for python
Stars: ✭ 229 (+748.15%)
Mutual labels:  nba
NBA-Fantasy-Optimizer
NBA Daily Fantasy Lineup Optimizer for FanDuel Using Python
Stars: ✭ 21 (-22.22%)
Mutual labels:  nba
Nbastatr
NBA Stats API Wrapper and more for R
Stars: ✭ 226 (+737.04%)
Mutual labels:  nba
whoscored
Football player rating analysis and position recommendation
Stars: ✭ 30 (+11.11%)
Mutual labels:  sports-data
Draftfast
A tool to automate and optimize DraftKings and FanDuel lineup construction.
Stars: ✭ 192 (+611.11%)
Mutual labels:  nba
Nba Live
Watch NBA games in the terminal, the content in Chinese only.
Stars: ✭ 181 (+570.37%)
Mutual labels:  nba

mysportsfeeds-r

MySportsFeeds R Wrapper brought to you by @MySportsFeeds.

Makes use of the MySportsFeeds API - a flexible, developer-friendly Sports Data API.

Free for Non-Commercial Use.

##Install

devtools::install_github("MySportsFeeds/mysportsfeeds-r")

##Usage

If you haven't signed up for API access, do so here https://www.mysportsfeeds.com

To authenticate (v1.x):

library(mysportsfeedsR)
authenticate_v1_x('<your-api-key>', '<your-account-password>')

To authenticate (v2.0): This will assume the expected v2.0 password of "MYSPORTSFEEDS"

library(mysportsfeedsR)
authenticate_v2_x('<your-api-key>')

Start making requests, specifying: league, season, feed, format, and any other applicable params for the feed

Example (v1.x): Get all NBA 2016-2017 regular season gamelogs for Stephen Curry, in JSON format

gamelogs <- msf_get_results(version='1.2',league='nba',season='2016-2017-regular',feed='player_gamelogs',params=list(player='stephen-curry'))

Example (v1.x): Get all NFL 2015 regular season seasonal stats totals for all Dallas Cowboys players, in XML format

season_stats <- msf_get_results(version='1.2',league='nfl',season='2015-regular',feed='cumulative_player_stats',params=list(team='dallas-cowboys'))

Example (v1.x): Get full game schedule for the MLB 2016 playoff season, in CSV format

full_sched <- msf_get_results(version='1.2',league='mlb',season='2016-playoff',feed='full_game_schedule')

Example (v2.0): Get all NBA 2016-2017 regular season gamelogs for Stephen Curry, in JSON format

gamelogs <- msf_get_results(version='2.0',league='nba',season='2016-2017-regular',feed='seasonal_player_gamelogs',params=list(player='stephen-curry'))

Example (v2.0): Get all NFL 2015 regular season seasonal stats totals for all Dallas Cowboys players, in XML format

season_stats <- msf_get_results(version='2.0',league='nfl',season='2015-regular',feed='seasonal_player_stats',params=list(team='dallas-cowboys'))

Example (v2.0): Get full game schedule and scores for the MLB 2016 playoff season, in CSV format

full_sched <- msf_get_results(version='2.0',league='mlb',season='2016-playoff',feed='seasonal_games')

That's it! Enjoy all the data you can eat!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].