Giter VIP home page Giter VIP logo

Comments (7)

North101 avatar North101 commented on June 27, 2024 1

Cool. No rush as the hack is working for me

from patreon-ts.

Zageron avatar Zageron commented on June 27, 2024

Looking in to this particular case.

from patreon-ts.

Zageron avatar Zageron commented on June 27, 2024

Man the patreon API continually surprises me at how nonsensical it is. 😂

from patreon-ts.

North101 avatar North101 commented on June 27, 2024

I was surprised when this worked tbh

from patreon-ts.

Zageron avatar Zageron commented on June 27, 2024

Yeah, I haven't used my own library to tease the API much, only using it for what I needed.
This definitely expands the ability to "just get everything all at once" rather than making multiple queries for specific information.
But at the same time it totally mucks up the typing paradigm I assumed.

It allows nested schemas... I assumed it only supported the APIs / schemas they listed.

from patreon-ts.

Zageron avatar Zageron commented on June 27, 2024

Ah, https://docs.patreon.com/#more-data-paging-and-sorting
Major oversight on my part.

from patreon-ts.

Zageron avatar Zageron commented on June 27, 2024

I'll be investigating a way to add this additional "fields["extras"]" thing, I think I should be able to do it more elegantly than it is currently. I'll update you in a week at most.

from patreon-ts.

Related Issues (2)

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.