Skip to content

URL based API for visualizations #485

Description

@dsernst

Hi @artoonie, really great stuff.

Are you open to this additional new proposed interface to create a RCV visualization?

Currently:

  1. Create account
  2. Email for API key
  3. POST election data to create new visualization
  4. Share URL to new visualization [on load the front end downloads the stored data from the DB]

Proposed:

  1. Stick all the election data into URL parameters and just directly link to that. [on load the front end grabs the election data from the URL params]

That's it.

Pros:

  1. Much quicker for others to start using. Eliminates current steps 1 and 2, and merges 3 and 4.
  2. Potentially less DB/infra costs for you, because the data no longer needs to be stored / retrieved from DB.

Similar Examples:

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions