Comments (5)
When I get the URL from the API using api.matches().get(pm.id).assets[0].url where the pm.id is the match id, I get the error:
pubg_python.exceptions.TelemetryURLError: Telemetry host differs from official
This is cause by the URL that is returned when I used this approach being:
which differs from the ones posted here. I'd suggest either removing the constrict that its only official sources if this project is no longer being worked on (in case the URL changes again in the future) or adding this URL to the list of legal URLs
from pubg-python.
I think that's a good idea :-)
from pubg-python.
confirmed from API team. Will implement it soon.
from pubg-python.
Having prodded around here a bit, I have locally changed the clients.py to accept the pubg.com url as well. This causes further issues with KeyError: 'LogVehicleDamage' being thrown, which makes me suspect there have been changes to the telemetry data since this was last updated.
from pubg-python.
Having added the missing LogVehicleDamage and other consecutive missing classes to the events.py in domain/telemetry, I have found that using the requests library and the jsonResponse function is actually about 4 times faster than using the aforementioned function. I would suggest looking into this if this project is still active
from pubg-python.
Related Issues (20)
- Get list vehicles from api HOT 1
- How often do new updates get pushed to pip? HOT 3
- How to find his steam ID,if i Just know his PUBG ID? HOT 2
- Key Error HOT 5
- Support tournaments data
- pubg_python.exceptions.NotFoundError: The specified resource was not found HOT 3
- Characters in "characters" list in "LogMatchStart" events have all attributes set to "None" HOT 2
- Could pubg-python add a new Telemetry events? HOT 1
- events_from_type could return ordered dictionaries HOT 5
- KeyError HOT 1
- Api did not return my account HOT 12
- Release workflow is being triggered twice somehow HOT 5
- Add leaderboards
- Add/update domain classes
- Passing unexpected response_headers to __init()__
- Add new exception for wrong player_names
- Add weapon mastery endpoint
- player.matches throws Attribute error (AttributeError: 'Player' object has no attribute 'matches') HOT 2
- How to store the telemetry data as a json file? 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 pubg-python.