GithubHelp home page GithubHelp logo

umayr / concur Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 0.0 1.82 MB

create and synchronise tracks posted on various subreddits with spotify playlist OR you can simply follow my playlist generated by this tool: https://open.spotify.com/user/bandooqwala/playlist/4vjnYyAOUXVbjGLzOwiBwm?si=JRgHOFnWR6GYIIw117CrbA

License: MIT License

Makefile 14.15% Go 85.85%

concur's People

Watchers

 avatar  avatar  avatar

concur's Issues

Don't rely on Environment Variables

Right now, you need to set environment variables (SPOTIFY_ID and SPOTIFY_SECRET) to get it running. It should either use a config file located at home directory (or path provided as argument) or simple command line arguments.

Use same playlist every time

Currently, when there's no playlist ID is provided, it creates a new playlist every time. It should always look for the generated name and if that exists, add tracks to that playlist.

Refactor Fetch Method

Fetch method in Reddit struct requires refactoring as mentioned by @alyyousuf7.

Just a suggestion to break this into two functions:

  • A unit function which fetches data from a specific URL
  • A higher level function which run the unit function in some sort of loop
    I think it will make it more readable and more testable.

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.