api's People
api's Issues
Link issue
Create application link on page https://tiltify.github.io/api/topics/getting-started.html links to https://tiltify.com/dashboard/account/connections/new but should link to https://tiltify.com/@me/dashboard/account/apps/create
Node.js Axios HTTP request with bearer token returning undefined
Hello,
I'm a little new to Node.js, so I hope this question isn't too basic. I'm working with Node.js/Axios, and trying to get basic communication going with the Tiltify API. Here's my code so far:
const axios = require('axios');
axios.get('URL_GOES_HERE', {
headers: {
'Authorization' : 'Bearer MY_TILTIFY_ACCESS_TOKEN'
}
})
.then(response => {
console.log(response.data.url);
console.log(response.data.explanation);
})
.catch(error => {
console.log(error);
});
I assume that MY_TILTIFY_ACCESS_TOKEN is the access token I generated from within my Tiltify account. I'm confused, however, about what value to put in URL_GOES_HERE. The API docs give two possible URLS: https://tiltify.com/oauth/authorize and https://tiltify.com/oauth/token. Or am I supposed to put my bearer credentials directly into the URL of a useful request, like https://tiltify.com/api/v3/user? I've tried all three, and I just get undefined undefined in the console.
Thanks for taking a look!
Another SDK
Hey! I wrote this over the last little bit - I'm porting my other tiltify projects to using it soon. Here's a link https://github.com/daniellockard/tiltify-api-client
I know y'all aren't probably going to add a list of SDKs right now, but figured this would be a good reminder that a list of SDKs might help some people.
Also have docs up on https://daniellockard.github.io/tiltify-api-client/.
It's also available on npm as tiltify-api-client
Get User information from access token, OpenAPI PR
I am setting up tiltify integration for my site. I have managed to get an access token from /token, but need some way to tie it to a user's tiltify account so they can select the proper token on my UI (from one of potentially many). Unfortunatly, the /user endpoint returns a 401. Is there some way I can get what user I now have a token for?
Also, I wrote up some OpenAPI so I can use code-gen to make the client. I'd be happy to make PR with it if it would be useful. The biggest thing I am worried about is the JSON examples I used in the documentation to generate the objects being incorrect, and thus the openAPI, and any code generated using the openAPI being incorrect.
No query document supplied
Trying to get campaign info using /campaigns/:id, I'm getting the response
{"errors": [{"message": "No query document supplied"}]}
Also, the URL given in the API documentation https://tiltify.com/api/v3/campaigns/[id] returns a 404; the URL that works is https://api.tiltify.com/campaigns/[id]
Safe usage to avoid rate limiting
Hi there, I am working on a project for an upcoming live stream that will make use of the API to integrate into minecraft to notify the players and stream of new donations and their messages etc.
I couldn't find any info on usage rates so I figure I'd ask here, what would be the safe usage amounts? For example I was looking to query donations via https://tiltify.com/api/v3/campaigns/ID/donations?count=20 every 5-15 seconds, the more frequently I can query the better. We don't anticipate a heavy influx of donations so I could lower the count parameter further, etc.
Any info would be much appreciated, thanks!
Move all images over to src/alt/width/height
Make an image 'entity'
Each named image should use the following format:
{
"avatar": {
"src": "https://asdf.cloudfront.net/asdf.jpg",
"alt": "",
"width": 200,
"height": 200
}
}
Authorising via OAuth2 +/v3/me/is-profile-complete problem
Hi there,
When trying to use OAuth2 to authorise users, when a user logs in with email + password, even though it's successful they get sent to a page that asks them to complete their profile (In order to continue using this website, you must complete your user profile, by filling in the missing information.
) even though it's already completed and unfortunately the button to submit the form is disabled/grayed out.
(Even when making a change which activates the button, submitting it does nothing)
It seems to check https://tiltify.com/api/v3/me/is-profile-complete
and return a 401 even though the call just before it to https://tiltify.com/users/session/create?redirect_url=...
returns a 200 and the profile information.
This is used in a service that has previously been working without issue and aids in a friends reasonably sized campaign that is upcoming so any and all help is massively appreciated.
Many thanks
Remove V2 links
Given the V2 has sunset by 3 years, and the fact that the knowledge-base article it links to 404s, it should likely be removed from the docs.
(also, if I have an api request, would I file an issue here? "or you have any problems" technically applies to not having a required endpoint)
Poll sample has incorrect dataset
If you look at the example provided here:
https://github.com/Tiltify/api/blob/master/docs/endpoints/campaigns-id-polls.md
There is an egregious misrepresentation of people who actually prefer pineapple on pizza.
This should read much closer to 100% as everyone should enjoy pineapple on their pizza.
Unable to get list of campaigns for Cause
I have been receiving a 401 error on GET requests to https://tiltify.com/api/v3/causes/1171/campaigns
both using my applications bearer token and one I generated using Oauth2. So far as I can tell this should be publicly accessible since it is on the website and also appears to be listed in the permissions API as visible.
Thanks in advance for any help!
SDK page error
jbec1901/TiltifyV3.0API Repo link points to https://github.com/daniellockard/tiltify-api-client but should point to https://github.com/jbec1901/TiltifyV3.0API
Ratelimit information
I'm planning on making an application that frequently (several times per minute) checks the donations on a campaign, for several broadcasters at a time. I would like to learn about the ratelimits Tiltify imposes, so that I can ensure I can remain within those limits in my own application.
How open are you to changing some docs?
Hello,
I started implementing a tiltify client in Go
and started running into issues.
- https://tiltify.com/api/v3/fundraising-events gives
{"meta":{"status":501},"error":{"title":"Not Implemented","detail":"The resource has not been implemented."}}%
- Trying to query Cause Campaigns
GET /causes/:id/campaigns
does not work it seems. I checked the example ID and some others and they all said not authorized? It'd be cool if all of the examples had a working ID. - Any JSON example with //... doesn't work going through a code generator for JSON. At least one had trailing commas where there shouldn't be (as much as I wish the spec did allow it)
- Some of the JSON doesn't have commas where it's needed.
GET /causes/:id/fundraising-events
on the endsOn.
I haven't gotten any further... I wanted to see if I could PR your docs or if there's a process for that.
SDK
So I made this: https://github.com/jbec1901/TiltifyV3.0API
I have not made it into a easy to install npm app yet but it functions as far as I can tell.
Can we get milestones from campaign/:id ?
All in the title, just wondering if it can be added?
Ty much love
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.