Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simplify API #12

Open
yukiisbored opened this issue Mar 27, 2017 · 5 comments
Open

Simplify API #12

yukiisbored opened this issue Mar 27, 2017 · 5 comments

Comments

@yukiisbored
Copy link
Member

The API is overly complicated and does not support the spirit of the Go programming language. Which results in high code complexity, confusing functions, etc.

@yukiisbored
Copy link
Member Author

yukiisbored commented Mar 27, 2017

Also, using POST requests will be better than constructing complicated GET requests to decrease exploitation of the API

@aviaryan
Copy link

Agreed. For starters, we can create custom interfaces for each of the different return types (Apps, User, Tweets). Let's create individual issues and work on this step by step.

@yukiisbored
Copy link
Member Author

@aviaryan I think it's better to make it into a simple API caller instead. Basically a communicator to keep it simple and flexible.

@aviaryan
Copy link

@yukiisbored Cool. Actually I was inspired from https://github.com/loklak/loklak_python_api which provides a much more coherent experience (like Twitter SDK). So if I want to do something like that, we will have to start a new project, right? The idea seems interesting to me and I will try it in my free time.

@yukiisbored
Copy link
Member Author

@aviaryan Well, that's Python not Go. Go has a different taste, I suggest reading Effective Go to see what I'm talking about.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants