Note
This no longer works in browser!
Note
This no longer works if you're alone in vc! Somebody else has to join you!
How to use this script:
- Accept the quest under User Settings -> Gift Inventory
// Use this to test: | |
// https://www.jdoodle.com/online-java-compiler-ide/ | |
public class MyClass { | |
public static void main(String args[]) { | |
// Manual test cases that we found to be problematic | |
printTest(0.0f, 0.0f, 0.0f); | |
printTest(90.0f, 270.0f, 90.0f); |
#!/bin/bash | |
ORG=organization; | |
ACCESS_KEY=0000000000000000000000000000; | |
for i in $(curl -H "Authorization: Bearer $ACCESS_KEY" "https://api.github.com/orgs/$ORG/repos?per_page=1000" | sed '/[ ]*"clone_url":/!d;s/[^:]*: "//;s/",$//'); do | |
echo git clone $i | |
done |
URLs: | |
Answers: (called after a correct answer) | |
https://api.preguntados.com/api/users/XXXX/games/XXXX/answers | |
Games: (called after end of game, and possibly on initial load?) | |
https://api.preguntados.com/api/users/XXXX/games | |
https://api.preguntados.com/api/users/XXXX/games/XXXX | |
Answer JSON key: | |
spins_data.spins["0"].questions["0"].question.correct_answer |