artoonie / artoonie/rcvis

URL based API for visualizations

Open
#485 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
34
Forks
10
Avg merge
6h 53m
Merged PRs (30d)
4

Description

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.
3. Potentially less DB/infra costs for you, because the data no longer needs to be stored / retrieved from DB.

**Similar Examples:**

- https://goqr.me/api/ - "Call the URL https://api.qrserver.com/v1/create-qr-code/?size=150x150&data=Example to get a QR code with the content "Example""
- https://numbr.dev — Really cool notepad w/ built in math functions and variables. All note data gets base64 encoded and then stuck in the URL, so no DB needed at all.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.