Comments (2)
There's something odd happening in next_session_times()
where response.json()["d"]
returns an empty list
(rather than the expected dict
)for some series. So far it looks like this happens on:
2720 : eNASCAR Coca-Cola Series
2861 : iRacing Endurance Le Mans Series
2721 : NASCAR Road to Pro
2811 : Nurburgring Endurance Championship
2817 : Porsche Esports Sprint Challenge
2812 : Porsche TAG Heuer Esports Supercup
2908 : WoO Late Model WC Series
Has this behaviour been noticed before? Any ideas why it would happen on those particular series? I'll try and have a closer look later if we don't have any more insight yet.
Edit: Nevermind, it's series with no upcoming sessions. I'll modify the client to check this condition.
from pyracing.
It's interesting that it doesn't provide what the next session would be, even if it's further into the future.
It might be good to log a response that no sessions were detected, which usually indicates a series that has sessions spread far apart.
from pyracing.
Related Issues (20)
- typo
- Question for everyone: What are some examples of the data you want? The more responses the better! HOT 6
- Remove items from payload dictionary if their value is None HOT 1
- Consider publishing to PyPi.org HOT 6
- Add install_requires block in setup.py to make sure correct dependencies get resolved HOT 2
- Unable to download laps HOT 2
- Change the URL endpoint for event_results as requested by iRacing
- Tweak the init methods of response_objects HOT 6
- Clean up class objects and attributes HOT 1
- Improve client methods to handle empty or incorrect response data
- Add checks to Client init HOT 1
- Explanation of field: excludeLite HOT 1
- My login fails when utcoffset is calc'd using this
- "ok":false returned by stats_chart URL
- driver_stats doesn't appear to parse the response correctly HOT 7
- New endpoint in release notes
- Response of GetWorldRecords changed HOT 1
- Convert driver id / series id to display name or series name HOT 1
- Can't login - Authentication failed and credentials are correct HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyracing.