Giter VIP home page Giter VIP logo

aspotify's People

Contributors

jpochyla avatar sabrinajewson avatar xvello avatar

Stargazers

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

Watchers

 avatar  avatar

aspotify's Issues

ClientBuilder

Hi! I'd like to have an option to customize the reqwest::Client for explicit proxy setup, and thought that it might be a good time to add a builder for the Client fields. And while I'm at it, changing Client::credentials to be somehow optional (either through an Option or turning it into enum) would be great as well, as I'm currently just passing empty strings for the credential values and it seems wrong :) Unfortunately it's not backwards-compatible change. What do you think?

Error unwrapping Result<Option<CurrentlyPlaying>> from aspotify::endpoints::player::get_playing_track

I'm new to Rust so apologies in advance if I don't give enough detail.

I'm using aspotify::endpoints::player::get_playing_track to grab whatever song I'm currently listening to. It works fine when I'm listening to a song off of my liked songs or if I play one via search, but if I play a song off a playlist, it errors with:

'called `Result::unwrap()` on an `Err` value: ParseError(Error("unknown field `playlist`, there are no fields", line: 9, column: 65))'

I'm not totally sure what's going on here though I assume it's probably something with the way that CurrentlyPlaying is being parsed.

Thanks in advance for the help.

Sharing the model with `rspotify-model`

I think it would be very beneficial if both rspotify and aspotify could share the same model crate. The clients differ, but the model is generic enough that it can be used by anyone. We have it at the rspotify-model directory. It's hard to keep the model up to date, and after the big refactor in v0.11 I think ours is in a state that's good enough for sharing.

What do you think?

Setting up explicit access token is not supported

Hi! In my application I talk to Spotify through the TCP mercury connection, and retrieve access tokens with a mercury call. This completely avoids authorizing apps through the Web, and client ID and secret are not used for retrieving the token. Would you be interested in a PR that separates aspotify::Client from the authentication mechanisms?

Thank you!

Add rustls feature

Hey, amazing work on this library, thanks a lot!

I'm building an app that I'd like to compile to musl libc with rustls. However, reqwest uses openssl by default (which I couldn't get to run using musl). Could you imagine adding a rustls feature in your Cargo.toml and "forwarding" that to reqwest?

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.