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

Feature Request - JSON API #45

Open
JasXSL opened this issue Mar 17, 2019 · 2 comments
Open

Feature Request - JSON API #45

JasXSL opened this issue Mar 17, 2019 · 2 comments
Labels
enhancement New feature or request website-related Issues related to Dissenter.com (website, not extension)

Comments

@JasXSL
Copy link

JasXSL commented Mar 17, 2019

I'm not a huge fan of the current design, as it essentially loads a full website in the page action on chrome. Is there any chance you could add a JSON API for this to make it easier for users to customize the addon, and probably speed up load times?

Some suggestions for endpoints:

  • /comments = Get all comments for the supplied page
  • /nr = Get a number of comments for the supplied page (would let you add a number indicator on the browser action, and let you cache the nr of comments to speed things up)
  • /trending = Get trending pages on the supplied page's domain
  • /comment = Make a comment
  • /user = Get info about the user currently logged in
  • /trendingall = Get trending on all websites (the current top scrolling text)

Something along those lines would be handy.

@mgabdev
Copy link
Collaborator

mgabdev commented Mar 21, 2019

Thank you for the suggestion @JasXSL. The idea of a public JSON API is something we have thought about internally but do not have a set time frame for the implementation quite yet.

@mgabdev mgabdev added enhancement New feature or request website-related Issues related to Dissenter.com (website, not extension) labels Mar 21, 2019
@AlexO-dev
Copy link

I strongly support this. Loading a full website is much slower than getting just raw data. It also makes it harder to customize Dissenter. :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request website-related Issues related to Dissenter.com (website, not extension)
Projects
None yet
Development

No branches or pull requests

3 participants