Coder Social home page Coder Social logo

api's People

Contributors

benstepp avatar chatlurking avatar ckarras11 avatar deanpcmad avatar deefdragon avatar dependabot[bot] avatar eein avatar rosuav avatar themaxdavitt avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

api's Issues

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!

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.

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)

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!

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.