Is it possible to Fetch Real-time data using Riot Valorant Api? - riot-games-api

I am making an application that shows real-time status for a Valorant game. like players alive, the type of weapons each play has, time remaining, etc.
Is it possible to use Riot Valorant API to do this for live matches or for previously played matches?

As per my knowledge you couldn't. But I think you should try with Riot Games' official production API, not development API.
Let me know if you find something relatable.

(This is adding onto Sanskar's answer, which I cannot comment on as I lack the required 'reputation')
I'm aware that this is an old question, but for anyone who happens to have stumbled upon this question, there is no way to obtain real-time in-game events however, there is a way to retrieve certain data from a match-- only except, not in an official way that does go against Riot Game's TOS of using third party software. Though, I wouldn't worry about this too much as long as you do not ruin the competitive integrity of the game by providing yourself with an in-game advantage over others in the game. I personally have been using this for over a year now and have not received any form of punishment for doing so.
Anyhow, back to the actual question of this thread, check out this document of API endpoints that have been scraped through monitoring HTTP traffic of the Riot Client. https://github.com/techchrism/valorant-api-docs/tree/trunk/docs/ You'll need to obtain certain authorization tokens of the Valorant account through whatever methods are available to you (I pray that it is through lawful means :) ), which highly depends on the type of endpoint. There are certain wrappers for these endpoints already made by other users somewhere on GitHub, and you can always ask for help in the small community of developers that are using these endpoints in the README of the GitHub page I sent in this post.
REMEMBER TO NOT DO ANYTHING THAT WOULD CREATE AN UNFAIR ADVANTAGE, OR ANYTHING ELSE THAT A RIOT EMPLOYEE WOULD NOT APPROVE OF USING THIS :)

Related

Outlook/Exchange RoomFinder (w/ Lex)

I'm an intern and I've been tasked with creating a RoomFinder API for Outlook that works with Amazon's Lex/Lambda to find a location and schedule meetings given a list of participants. The API is supposed to be able to pull the calendars from Outlook for the individual participants, find a time that works for all of them and a location with a proper seating capacity, and then schedule the meeting+add it to the calendars of those involved. I have a pretty good understanding of how Lex works and have created my own functions using Lambda before but I don't even know where to begin when it comes to pulling the calendars from Outlook for the participants.
I have been trying to get an idea of how to go about this for a few days now and found some information on Outlook's REST API which it sounds like can be used to gather some of the needed information but I'm not sure how to actually begin doing that. Here are links to a few of those pages:
https://msdn.microsoft.com/en-us/office/office365/api/use-outlook-rest-api#RegAuthConverged
https://msdn.microsoft.com/en-us/library/office/dn643730(v=exchg.150).aspx
I also managed to find a few pages on GitHub of similar, more basic scripts using Python to acquire things like Room Availability from Outlook but I couldn't get any of those to work. I don't have enough reputation to post more links but if seeing those would help I can maybe comment them later.
I'm really looking for any advice on where to begin or tips on how to get this done. I think I may be on the right track with the REST API idea but I have no clue how to actually use it or set it up.
Any help is appreciated, thanks.
We are just now rolling out a new REST API to list the roomsIDs(findrooms). You can use this in conjunction with the findmeetingtimes API to schedule meetings. Please take a look at the REST API docs here(remember to choose beta in the top-right)
https://msdn.microsoft.com/en-us/office/office365/api/calendar-rest-operations#GetMeetingRooms

Extending YouTube API Quota with limited funds

With a simple java program, I send GET requests using YouTube Data API specifically videos.list, in order to get the public metadata of a video and store it as .json files.
For my universities research, we have to do this with all available YouTube video IDs provided in the Youtube-8M Database.
Therefore, I would like to know if there is a way to extend the available quota for requests (I already know about the billing option, but I am a student and my university is small).
I have read the YouTube API terms, which states that only one project per client may be used to send such requests with the necessary API Key.
If I understand it correctly, even my simple java code is such a client.
In some other Stack Overflow questions about extending ones daily quota with API Keys, some suggested creating multiple accounts or projects.
Is this a legal option or not? Or is there another possibility to get a higher quota for simple requests used in research like I do right now?
If you go to the Google Developer console where you enabled the YouTube API. the second tab is called quota
Click the pencil next to which ever quota it is that you are blowing out. A new window will pop up with a link called apply for higher quota.
Fill out the form to apply. To my knowledge you do not have to pay for additional YouTube quota but it can take time to get approved. Make sure you comply with everything on the form.
I have never heard of the one project per client term. Technically you can run your application using different API Keys it should work fine. Technically there is nothing wrong with creating additional projects on Google Developer console. You don't need to go as far as creating another Google account.

Google my business - API to update opening hours of places?

I would like to update "Opening hours" for all stores of a company in Google my business, through an automated API (a REST service for example).
My customer has hundreds of stores, and currently this is done manually.
I've read there is NO automated way to do this, a user needs to fill manually every opening hour in the google my business portal.
I can't believe that, and I'm wondering how big companies with a lot of stores take care of that problem, especially for "exceptional closings", etc.
I have already search for a long, and didn't found anything.
The only ability supplied by google is to upload a list of stores, through a file, and this file doesn't contain any information regarding opening hours (am I wrong ?).
I would like to be able to update store list AND opening hours regularly, through an API (My Business, or Places).
Does google propose a such API, or do you have any suggestion to handle this concern from a programmatical point of view ?
Thank you
There was no Google API for My Business at the time when I posted my question, but meanwhile Google has released it and also provides samples for many languages : https://developers.google.com/my-business/
Thanks to eton_ceb for the notification.

Google Places API - Submitting reviews

I am researching whether the following is possible and if so how I could go about achieving it.
We collect reviews for businesses from their customers and we’d like to post these reviews to Google places as part of the reviews they have on their.
I was wondering how I would go about getting our website to “push” this data to the Google places website, I’ve done lots of searching on the APIs but have found nothing that says it’s possible or not.
Currently the Google Places API does not have write capability. It only has read capability. Right now only ratings are available, but I suspect reviews might come someday too.
Although you can send check-in signals and fix Places through the API. Hopefully Google will add the ability to send reviews and receive them.
If you're looking to get your content added to Google, you may want to talk to their content partnerships teams http://www.google.com/support/mapcontentpartners/
Since Google's local and maps initiatives are under the same people that would be the place to go.
I too looked into this as it would be of huge value to companies if possible.
My research led me to believe that it is not possible and could possibly violate Google's TOA with negative results for the company's Places page.
Instead, I built a workaround that makes it really easy for companies to collect feedback and get their own customers to submit the reviews: http://dallasmarketingservices.com/survey-local-unveiled-how-online-reviews-affect-your-local-business/
Maybe we will see this in the future though.

How do you acquire usage data from a webOS app and store that data remotely?

I am new to webOS development. I have one app in the app store and in the next update to the app I would like to be able to identify the age of users, their location, how long they use the app, which features they use the most/least and then store that data in a database. How do I do this? Many thanks in advance for your help.
Well, that's a pretty big question. Here's an outline of what to do, with some notes.
First, you're probably not going to be able to get age unless you ask the user directly and they tell you. Also, you're only going to get location if the application is location-aware and the user permits you to collect that data (when you install a location-aware application, it asks the user if they're okay with the fact that the application will be able to get their location).
As for how long they use the app and which features they use, that's easier. Depending on the granularity you need/want to capture, you can just record time stamps when a user starts and stops using a particular feature, such as when scene activate and deactivate methods fire. As long as you store feature name and timestamp, that should give you what you're looking for.
Then comes to question of collection. However you store it in the app, you have a couple of choices for how to get it out of the app. Unless you can get your users to just email the data to you, probably the easiest thing to do would be to create a web app (possibly with no user facing output, since you're just using it to collect data) using something like Google App Engine that gives you a URL you can send a POST request to using an HTTP request. Depending on how you set it up, it could do the request every time you collect a timestamp (bad for battery use, though), just occasionally, or only when the app is doing cleanup (possibly a problem if you don't get the request off in time).
I'd recommend taking a look online at how people do this type of thing in iPhone apps to get a good sense of how to do this type of thing. If you hit problems getting particular things to work, you can of course come here to StackOverflow with specific coding questions.

Resources