samthetechie / 1010uk Goto Github PK
View Code? Open in Web Editor NEWSome random example files of me playing with the 1010 API
Some random example files of me playing with the 1010 API
10:10 Hackday API Hackery CURL notes Adding a value: curl -F key=your_api_key -F start_date=2010-10-04 -F end_date=2010-11-04 -F energy_kwh=123.45 -F category=electricity http://my.1010uk.org/api/profile/energy/electricity Deleting a value by id: curl -i -X DELETE http://my.1010uk.org/api/profile/energy/electricity/your_json_object_id?key=your_api_key Editing a value by id: curl -i -v -H "Content-Type:application/json" --upload-file ./your_json_object_id.json http://comments.latest.my-1010.appspot.com/api/profile/energy/electricity/your_json_object_id?key=your_api_key n.b change "http://comments.latest.my-1010.appspot.com" back to "http://my.1010uk.org/" when the code edits have been published to the production server. curl -i -v --header "Content-Type: application/json" --upload-file ./your_json_object_id http://my.1010uk.org/api/profile/energy/electricity/your_json_object_id?key=your_api_key Getting JSON object element by id: curl -i -X GET http://my.1010uk.org/api/profile/energy/electricity/your_json_object_id?key=your_api_key Getting the entire JSON object i.e. all id's: curl -i -X GET http://my.1010uk.org/api/profile/energy/electricity?key=your_api_key
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.