Technical introduction to AMEE

2,508 views

Published on

http://www.amee.com

An introduction to the AMEE platform, and how to use it to embed environmental intelligence in your applications.

Published in: Technology, Business
0 Comments
5 Likes
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
2,508
On SlideShare
0
From Embeds
0
Number of Embeds
1,425
Actions
Shares
0
Downloads
7
Comments
0
Likes
5
Embeds 0
No embeds

No notes for slide
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Notes on self day job, amazon, spare time 4 people part tijme going to cover a wide range of topics, something for everyone in this presentation history 3 years carbon calc's. Unpack some of the issues. climate change – survey audience
  • Technical introduction to AMEE

    1. James Smith, Development Manager help@amee.com
    2. Web-based API for aggregation of energy & activity data, with Carbon models
    3. Applications Act On CO2 Carbonetworks Misys OpenCarbonWorld “Powered By AMEE” means you are working with authoritative models
    4. API Details RESTful HTTP API Authoritative Your Data XML, JSON and Atom Models PUT Profiles Store your energy data and history Data Profiles Data Industry standard models, GET applied to calculate carbon result CO2 Result
    5. Getting Started Sign up for a free API key: http://my.amee.com/signup Sign Up Staging platform FREE http://stage.amee.com Free access for Develop using stage.amee.com development & testing Live platform http://live.amee.com Release using live.amee.com Production platform
    6. Authentication All API requests require authentication HTTP Basic Username/password sent with each request Authentication Sessions One-time login Get back and authToken and send with subsequent requests Tokens expire after two hours, or half an hour of inactivity
    7. Storing Data Store your data in AMEE profiles Create as many profiles as you like, and choose what they represent No personal data stored in AMEE Profiles are identified only by random UID string POST /profiles Accept: application/xml Content-Type: application/x-www-form-urlencoded Set-Cookie: authToken: <authtoken> profile=true
    8. Profile Categories Category Hierarchy in each profile Similar to a folder structure Top Level Home,Business,Transport,etc. Profile Items Contained within categories Store your data
    9. Fetching Profile Categories
    10. Creating Profile Items POST /profiles/7C7D68C2A7CD/home/energy/quantity Accept: application/xml Content-Type: application/x-www-form-urlencoded Set-Cookie: authToken: <authtoken> dataItemUid=66056991EE23&energyConsumption=1000 HTTP/1.1 201 CREATED Location: https://stage.amee.com/profiles/7C7D68C2A...
    11. Profile History ISO 8601 times/durations startDate / endDate Series1 Series1 Series1 2009-08-13T09:22Z Series2 Series2 duration P23DT23H Item names TIME Distinguish separate series of same item in same category
    12. The Data API Category hierarchy as for profiles contains data items Items store science data e.g. CO2 emission factors Data items have unique UIDs but...
    13. Drilldowns Data Item UIDs CAN CHANGE They change between platforms Do not hardcode UIDs in your app – it WILL break when you go live Item names DO NOT CHANGE Use drilldown resource to convert item names into UIDs GET /data/home/energy/quantity/drill?type=gas Accept: application/xml Set-Cookie: authToken: <authtoken>
    14. Data Documentation AMEE Data Wiki: http://wiki.amee.com Contains detailed documentation on all elements in AMEE Including calculations and sources Helps you discover and choose which data to use
    15. API Documentation (my.amee.com/developers)
    16. Browser Interface
    17. www.amee.com/signup help@amee.com

    ×