Questions tagged [espn]

ESPN.com is an online platform for multiple sports news, statistics, team information, and player information. The ESPN.com API allows developers to access and integrate the data of ESPN.com with other applications and to create new applications.

ESPN.com is an online platform for multiple sports news, statistics, team information, and player information. ESPN.com offers sports scores, standings, and other statistics for a variety of sports.

The ESPN.com API allows developers to access and integrate the data of ESPN.com with other applications and to create new applications. Some example API methods include retrieving sports information, team information, and league information. Interested developers should sign up here for an API key: developer.espn.com/member/register

NOTE:

The public api is retired on December 2014. See ESPN's Public Announcement here: http://www.espn.com/static/apis/devcenter/blog/read/publicretirement.html

56 questions
1
vote
2 answers

How can I display images in a table view cell from ESPN JSON object?

I've worked with JSON objects before, such as the one for the TreeHouse Blog: http://blog.teamtreehouse.com/api/get_recent_summary/. Their thumbnail images are listed under strings like such:…
1
vote
1 answer

espn api error from URI link

I have just signed up to have access to espn api and I just want to access a specific teams data but an error message appears saying "timestamp" :"2014-04-06T22:36:39Z","message" :"Improper API URI","status" :"error","code" :404"". The link I'm…
user3210416
  • 794
  • 1
  • 10
  • 20
1
vote
3 answers

How to get athleteId from first/last name using ESPN APIs?

Using ESPN's developer API's, you can query for news on a specific athlete using the 'athleteId'. See the Methods section of their docs: http://developer.espn.com/docs/headlines#parameters If you look up a player profile you can find the athlete id…
TrevorBliss
  • 371
  • 3
  • 13
1
vote
1 answer

ESPN image 300 pixels even though says 90 pixels

Just wanted to put this inaccuracy out there to fix. When pulling from the Now API, the height and width given for some images does not correspond with the actual size of the image. Example: "images": [{ "height": 90, "alt":…
Realinstomp
  • 532
  • 2
  • 13
  • 30
1
vote
0 answers

403 Error response from single URI request?

When trying the live API explorer and using my api key I can get a good response. However when using the same URI link generated from the explorer within my application, I get a 403 error. However, the application makes only 1 request. url =…
cheeseandpepper
  • 385
  • 4
  • 16
1
vote
1 answer

ESPN API User Log In

I am building an app using the ESPN API and I have run through all of the APIs, using all that I can. It's going to be a big, deep app, with relational connections between stories. What I'm wondering is if there is anyway to allow the users to log…
MDavid Low
  • 25
  • 5
1
vote
1 answer

Troubleshooting ESPN API in Rails

In my rails app, I've got a working method for capturing ESPN Headlines via their API. But, when I try to replicate this to capture all NFL players, the method is failing. Here's the headline method that is working via IRB, when I run Headline.all…
mxs
  • 615
  • 6
  • 17
1
vote
2 answers

ESPN API - Do I need to become ESPN partner to retrieve NBA, NFL schedules?

I have a question I hope you can help me with- I am trying to use the ESPN API to get future game schedules/fixtures for NBA, NFL and NHL. It is unclear to me from the docs if I can get this data without becoming an ESPN partner. Is it necessary for…
user2394117
  • 21
  • 1
  • 2
0
votes
1 answer

API Data is not being added to my dictionary correctly

API: https://gist.github.com/nntrn/ee26cb2a0716de0947a0a4e9a157bc1c#v2sportsfootballleaguesnflseasonsyeartypesseasontypeweeksweeknumevents Chosen API Link:…
Raylo
  • 49
  • 6
0
votes
1 answer

BeautifulSoup find.text returns empty string although element exists

I am scraping the following; https://www.espn.com/nfl/scoreboard/ and trying to get the times of the games import requests from bs4 import BeautifulSoup r = requests.get("https://www.espn.com/nfl/scoreboard") soup = BeautifulSoup(r.content,…
earningjoker430
  • 468
  • 3
  • 12
0
votes
0 answers

Get all ESPN Fantasy Basketball player statistics (more than 50) in Excel

I joined a public ESPN Fantasy Basketball league and I would like to connect an Excel worksheet to the ESPN Fantasy API (currently V3) to download on-demand the players statistics available through this API URL: kona_player_info. I was able to…
R99Photography
  • 71
  • 1
  • 2
  • 10
0
votes
1 answer

Why am I intermittently writing partial arrays to files in Node with fs.readFileSync?

Context I'm retrieving data from the ESPN API to fetch weekly NFL matchup data. So, I'm making 18 api calls each time I need to fetch this data to account for all 18 weeks in the NFL season. I'm then creating an array with the data I need from the…
dentalhero
  • 689
  • 3
  • 10
  • 30
0
votes
1 answer

ESPN Fantasy API request filtering with X-Fantasy-Filter header

I'm using requests to pull in NBA player stats from the ESPN Fantasy API. Downstream I'm building a pandas df. One thing I'm having trouble with is filtering the request for fields that are deeper in the JSON nesting. I'm able to filter status and…
0
votes
1 answer

Python Web Scraping ESPN team Rosters

I have this code to scrape the Player information (Name, Position, Number) by pasting in a URL from 'any' ESPN Roster page. I say 'any' because any page that has at least one player without a number/jersey value errors out. Is there a way to fix…
0
votes
2 answers

Scrape ESPN Current week NFL lines into a pandas dataframe

The following code is only returning the first game. I would like to get all the Week 5 games and lines into a dataframe. Thanks in advance. import pandas as pd # library for data analysis import requests # library to handle requests from bs4 import…
Pmannn
  • 55
  • 7