r6api / client Goto Github PK
View Code? Open in Web Editor NEWRetroengined client to communicate with the Rainbow 6 Seat Statistical API
License: MIT License
Retroengined client to communicate with the Rainbow 6 Seat Statistical API
License: MIT License
Use Symfony Serializer to parse data from API and create DTO for each API endpoint.
The idea is to bring a strong typed model with utility functions to be able to access all data easily.
Endpoints to update:
Resources:
About Uncertainty Value Sigma:
The estimation of your skill is probabilistic. In general, the more games you play, the more information we have about you, and the more confident we are about this estimation. This confidence is represented by the uncertainty value sigma (σ). The lower the uncertainty, the higher the confidence.
https://rainbow6.ubisoft.com/siege/en-gb/news/detail.aspx?c=tcm:154-277344-16&ct=tcm:154-76770-32
Create a data model to store ProgressionApi response and create a Serializer to make it easy to convert response to this model.
Please discuss about the model you wanna use in thread before preparing it for PR.
Create a data model to store ProfileApi response and create a Serializer to make it easy to convert response to this model.
Please discuss about the model you wanna use in thread before preparing it for PR.
I got this when I try to add r6api/client
:
composer require r6api/client
Using version ^1.1 for r6api/client
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Restricting packages listed in "symfony/symfony" to "4.2.*"
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for r6api/client ^1.1 -> satisfiable by r6api/client[1.1.0].
- r6api/client 1.1.0 requires php-http/client-implementation ^1.0 -> no matching package found.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
- It's a private package and you forgot to add a custom repository to find it
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
[InvalidArgumentException]
Could not find package r6api/client at any version matching your PHP version 7.0.32.0
Help me!
Create a data model to store StatisticApi response and create a Serializer to make it easy to convert response to this model.
For this endpoint, we have a lot of sub-models such as Operators !!
Please discuss about the models you wanna use in thread before preparing it for PR.
After quick retro-enginering on Rainbow 6 Stats website, I saw there is a new endpoint there: https://public-ubiservices.ubi.com/v2/users/[uuid]/profiles
He use same headers as all other endpoints.
Response contains all platforms for given users (including twitch and steam which is kinda weird but "ok")
Create a data model to store RankApi response and create a Serializer to make it easy to convert response to this model.
Please discuss about the model you wanna use in thread before preparing it for PR.
It looks like this package may have vanished.
> composer require php-http/client-implementation:^1.0
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Your requirements could not be resolved to an installable set of packages.
Problem 1
- The requested package php-http/client-implementation could not be found in any version, there may be a typo in the package name.
Potential causes:
- A typo in the package name
- The package is not available in a stable-enough version according to your minimum-stability setting
see <https://getcomposer.org/doc/04-schema.md#minimum-stability> for more details.
Read <https://getcomposer.org/doc/articles/troubleshooting.md> for further common problems.
Installation failed, reverting ./composer.json to its original content.
Looking at the API calls the r6 site itself makes, it looks like some ops may be missing from the OPERATORPVE
and PVP
constants. Seems to be all year 2 and year 3 ops are missing.
Also, I don't see the r6 site calling for cazador assist kill. What is this one meant to be?
Lastly, do you know what the extra number and letters after the results map to?
"operatorpve_death:2:4" => 73
"operatorpve_roundlost:3:6" => 9
"operatorpve_glaz_sniperpenetrationkill:2:4" => 36
"operatorpve_timeplayed:3:8" => 776
"operatorpve_kills:3:F" => 19
"operatorpve_roundplayed:5:3" => 19
"operatorpve_roundplayed:2:9" => 20
"operatorpve_roundlost:3:2" => 5
"operatorpve_buck_kill:2:6" => 62
"operatorpve_kills:1:3" => 70
"operatorpve_headshot:2:B" => 35
If you do, a new Type class for this could be helpful. I am happy to do a PR for you, just don't know how to figure some of this stuff out.
Thanks!
Hi,
One of our build processes failed because it tried to download this library as a dependency instead of symfony/polyfill-ctype. It happened because this library is marked as a replacement for Symfony's ctype polyfill lib in packagist.
The solution that helped us was just updating the composer on our deployment servers. But still, it would be better to remove the symfony/polyfill-ctype from the replace
section in composer.json file.
Thanks,
Nadir.
I’ve got more investigation to do on this, but it appears that in Composer 1.8.0, there’s a version constraint in your dependency list that’s breaking everything else that tries to use it. It wouldn’t matter except that when Composer updates its provides lists from packagist, every single provided package gets parsed, and there’s no way to exclude r6api/client. This appears to be similar to what got fixed in #15. As soon as I get the chance I’ll post more details.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.