SlideShare a Scribd company logo
James Smith, Development Manager
                    help@amee.com
Web-based API for
aggregation of energy &
  activity data, with
    Carbon models
Applications


Act On CO2

Carbonetworks

Misys OpenCarbonWorld


“Powered By AMEE”
means you are working
with authoritative models
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
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
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
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
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
Fetching Profile Categories
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...
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
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...
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>
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
API Documentation (my.amee.com/developers)
Browser Interface
www.amee.com/signup

  help@amee.com

More Related Content

Similar to Technical introduction to AMEE

Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
Igor Moochnick
 
CSG 2012
CSG 2012CSG 2012
CSG 2012
Scotty Logan
 
AAD B2C custom policies
AAD B2C custom policiesAAD B2C custom policies
AAD B2C custom policies
Rory Braybrook
 
Amazon Web Services
Amazon Web ServicesAmazon Web Services
Amazon Web Services
catherinewall
 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best Practices
Amazon Web Services
 
Amazon2009 04 22 Amsterdam
Amazon2009 04 22 AmsterdamAmazon2009 04 22 Amsterdam
Amazon2009 04 22 Amsterdam
arnoud.wijnands
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
rajdeep
 
StartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and YouStartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and You
Start Pad
 
Data Federation/EII Uses And Abuses
Data Federation/EII Uses And AbusesData Federation/EII Uses And Abuses
Data Federation/EII Uses And Abuses
mark madsen
 
Creare e gestire Data Lake e Data Warehouses
Creare e gestire Data Lake e Data WarehousesCreare e gestire Data Lake e Data Warehouses
Creare e gestire Data Lake e Data Warehouses
Amazon Web Services
 
Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365
Kashif Imran
 
Oracle Application Express
Oracle Application ExpressOracle Application Express
Oracle Application Express
HBoone
 
Introducing Alfresco Community Edition 3.2
Introducing Alfresco Community Edition 3.2Introducing Alfresco Community Edition 3.2
Introducing Alfresco Community Edition 3.2
Alfresco Software
 
Forge: Under the Hood
Forge: Under the HoodForge: Under the Hood
Forge: Under the Hood
Atlassian
 
AWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
AWS Innovate: Build a Data Lake on AWS- Johnathon MeichtryAWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
AWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
Amazon Web Services Korea
 
RESTful Web Services with JAX-RS
RESTful Web Services with JAX-RSRESTful Web Services with JAX-RS
RESTful Web Services with JAX-RS
Carol McDonald
 
Integrate MongoDB & SQL data with a single REST API
Integrate MongoDB & SQL data with a single REST APIIntegrate MongoDB & SQL data with a single REST API
Integrate MongoDB & SQL data with a single REST API
Espresso Logic
 
Amazon
AmazonAmazon
Amazon
iamzkz
 
Building Highly Scalable Web Applications
Building Highly Scalable Web ApplicationsBuilding Highly Scalable Web Applications
Building Highly Scalable Web Applications
IWMW
 
Building a Modern Data Platform on AWS
Building a Modern Data Platform on AWSBuilding a Modern Data Platform on AWS
Building a Modern Data Platform on AWS
Amazon Web Services
 

Similar to Technical introduction to AMEE (20)

Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)Ado.Net Data Services (Astoria)
Ado.Net Data Services (Astoria)
 
CSG 2012
CSG 2012CSG 2012
CSG 2012
 
AAD B2C custom policies
AAD B2C custom policiesAAD B2C custom policies
AAD B2C custom policies
 
Amazon Web Services
Amazon Web ServicesAmazon Web Services
Amazon Web Services
 
AWS Deployment Best Practices
AWS Deployment Best PracticesAWS Deployment Best Practices
AWS Deployment Best Practices
 
Amazon2009 04 22 Amsterdam
Amazon2009 04 22 AmsterdamAmazon2009 04 22 Amsterdam
Amazon2009 04 22 Amsterdam
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
 
StartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and YouStartPad Countdown 8 - Amazon Web Services and You
StartPad Countdown 8 - Amazon Web Services and You
 
Data Federation/EII Uses And Abuses
Data Federation/EII Uses And AbusesData Federation/EII Uses And Abuses
Data Federation/EII Uses And Abuses
 
Creare e gestire Data Lake e Data Warehouses
Creare e gestire Data Lake e Data WarehousesCreare e gestire Data Lake e Data Warehouses
Creare e gestire Data Lake e Data Warehouses
 
Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365Develop iOS and Android apps with SharePoint/Office 365
Develop iOS and Android apps with SharePoint/Office 365
 
Oracle Application Express
Oracle Application ExpressOracle Application Express
Oracle Application Express
 
Introducing Alfresco Community Edition 3.2
Introducing Alfresco Community Edition 3.2Introducing Alfresco Community Edition 3.2
Introducing Alfresco Community Edition 3.2
 
Forge: Under the Hood
Forge: Under the HoodForge: Under the Hood
Forge: Under the Hood
 
AWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
AWS Innovate: Build a Data Lake on AWS- Johnathon MeichtryAWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
AWS Innovate: Build a Data Lake on AWS- Johnathon Meichtry
 
RESTful Web Services with JAX-RS
RESTful Web Services with JAX-RSRESTful Web Services with JAX-RS
RESTful Web Services with JAX-RS
 
Integrate MongoDB & SQL data with a single REST API
Integrate MongoDB & SQL data with a single REST APIIntegrate MongoDB & SQL data with a single REST API
Integrate MongoDB & SQL data with a single REST API
 
Amazon
AmazonAmazon
Amazon
 
Building Highly Scalable Web Applications
Building Highly Scalable Web ApplicationsBuilding Highly Scalable Web Applications
Building Highly Scalable Web Applications
 
Building a Modern Data Platform on AWS
Building a Modern Data Platform on AWSBuilding a Modern Data Platform on AWS
Building a Modern Data Platform on AWS
 

More from AMEE

Gavin Starks at TEDxNYC
Gavin Starks at TEDxNYCGavin Starks at TEDxNYC
Gavin Starks at TEDxNYC
AMEE
 
Explorer screencast
Explorer screencastExplorer screencast
Explorer screencast
AMEE
 
OpenTech 20100911 talk
OpenTech 20100911 talkOpenTech 20100911 talk
OpenTech 20100911 talk
AMEE
 
Greenhouse gas emissions calculations with AMEE
Greenhouse gas emissions calculations with AMEEGreenhouse gas emissions calculations with AMEE
Greenhouse gas emissions calculations with AMEE
AMEE
 
AMEE at Greennet
AMEE at GreennetAMEE at Greennet
AMEE at Greennet
AMEE
 
AMEE at SXSW 2009 show
AMEE at SXSW 2009 showAMEE at SXSW 2009 show
AMEE at SXSW 2009 show
AMEE
 
AMEE at eTech
AMEE at eTechAMEE at eTech
AMEE at eTech
AMEE
 
AMEE 2: New Features (+ audio)
AMEE 2: New Features (+ audio)AMEE 2: New Features (+ audio)
AMEE 2: New Features (+ audio)
AMEE
 

More from AMEE (8)

Gavin Starks at TEDxNYC
Gavin Starks at TEDxNYCGavin Starks at TEDxNYC
Gavin Starks at TEDxNYC
 
Explorer screencast
Explorer screencastExplorer screencast
Explorer screencast
 
OpenTech 20100911 talk
OpenTech 20100911 talkOpenTech 20100911 talk
OpenTech 20100911 talk
 
Greenhouse gas emissions calculations with AMEE
Greenhouse gas emissions calculations with AMEEGreenhouse gas emissions calculations with AMEE
Greenhouse gas emissions calculations with AMEE
 
AMEE at Greennet
AMEE at GreennetAMEE at Greennet
AMEE at Greennet
 
AMEE at SXSW 2009 show
AMEE at SXSW 2009 showAMEE at SXSW 2009 show
AMEE at SXSW 2009 show
 
AMEE at eTech
AMEE at eTechAMEE at eTech
AMEE at eTech
 
AMEE 2: New Features (+ audio)
AMEE 2: New Features (+ audio)AMEE 2: New Features (+ audio)
AMEE 2: New Features (+ audio)
 

Recently uploaded

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
KatiaHIMEUR1
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Paige Cruz
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Zilliz
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
Quotidiano Piemontese
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
shyamraj55
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
Claudio Di Ciccio
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
Octavian Nadolu
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
Ana-Maria Mihalceanu
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
SOFTTECHHUB
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Zilliz
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
danishmna97
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
KAMESHS29
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
Edge AI and Vision Alliance
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
Pixlogix Infotech
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
Kumud Singh
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
Uni Systems S.M.S.A.
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
名前 です男
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
Matthew Sinclair
 

Recently uploaded (20)

Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !Securing your Kubernetes cluster_ a step-by-step guide to success !
Securing your Kubernetes cluster_ a step-by-step guide to success !
 
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdfObservability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
Observability Concepts EVERY Developer Should Know -- DeveloperWeek Europe.pdf
 
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
Introducing Milvus Lite: Easy-to-Install, Easy-to-Use vector database for you...
 
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
National Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practicesNational Security Agency - NSA mobile device best practices
National Security Agency - NSA mobile device best practices
 
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with SlackLet's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
Let's Integrate MuleSoft RPA, COMPOSER, APM with AWS IDP along with Slack
 
“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”“I’m still / I’m still / Chaining from the Block”
“I’m still / I’m still / Chaining from the Block”
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
Artificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopmentArtificial Intelligence for XMLDevelopment
Artificial Intelligence for XMLDevelopment
 
Monitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR EventsMonitoring Java Application Security with JDK Tools and JFR Events
Monitoring Java Application Security with JDK Tools and JFR Events
 
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
Goodbye Windows 11: Make Way for Nitrux Linux 3.5.0!
 
Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...Building RAG with self-deployed Milvus vector database and Snowpark Container...
Building RAG with self-deployed Milvus vector database and Snowpark Container...
 
How to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptxHow to Get CNIC Information System with Paksim Ga.pptx
How to Get CNIC Information System with Paksim Ga.pptx
 
RESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for studentsRESUME BUILDER APPLICATION Project for students
RESUME BUILDER APPLICATION Project for students
 
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
“Building and Scaling AI Applications with the Nx AI Manager,” a Presentation...
 
20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website20 Comprehensive Checklist of Designing and Developing a Website
20 Comprehensive Checklist of Designing and Developing a Website
 
Mind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AIMind map of terminologies used in context of Generative AI
Mind map of terminologies used in context of Generative AI
 
Microsoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdfMicrosoft - Power Platform_G.Aspiotis.pdf
Microsoft - Power Platform_G.Aspiotis.pdf
 
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
みなさんこんにちはこれ何文字まで入るの?40文字以下不可とか本当に意味わからないけどこれ限界文字数書いてないからマジでやばい文字数いけるんじゃないの?えこ...
 
20240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 202420240609 QFM020 Irresponsible AI Reading List May 2024
20240609 QFM020 Irresponsible AI Reading List May 2024
 

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
  • 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

Editor's Notes

  1. 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&apos;s. Unpack some of the issues. climate change – survey audience
  2. 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&apos;s. Unpack some of the issues. climate change – survey audience
  3. 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&apos;s. Unpack some of the issues. climate change – survey audience
  4. 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&apos;s. Unpack some of the issues. climate change – survey audience
  5. 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&apos;s. Unpack some of the issues. climate change – survey audience
  6. 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&apos;s. Unpack some of the issues. climate change – survey audience
  7. 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&apos;s. Unpack some of the issues. climate change – survey audience
  8. 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&apos;s. Unpack some of the issues. climate change – survey audience
  9. 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&apos;s. Unpack some of the issues. climate change – survey audience
  10. 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&apos;s. Unpack some of the issues. climate change – survey audience
  11. 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&apos;s. Unpack some of the issues. climate change – survey audience
  12. 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&apos;s. Unpack some of the issues. climate change – survey audience
  13. 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&apos;s. Unpack some of the issues. climate change – survey audience
  14. 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&apos;s. Unpack some of the issues. climate change – survey audience