SlideShare uma empresa Scribd logo
1 de 17
Baixar para ler offline
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

Mais conteúdo relacionado

Semelhante a 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
 
Google cloud platform
Google cloud platformGoogle cloud platform
Google cloud platform
rajdeep
 
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
 
Amazon
AmazonAmazon
Amazon
iamzkz
 
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
 

Semelhante a 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
 

Mais de 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)
 

Último

Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
vu2urc
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
?#DUbAI#??##{{(☎️+971_581248768%)**%*]'#abortion pills for sale in dubai@
 

Último (20)

What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?What Are The Drone Anti-jamming Systems Technology?
What Are The Drone Anti-jamming Systems Technology?
 
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, AdobeApidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
Apidays New York 2024 - Scaling API-first by Ian Reasor and Radu Cotescu, Adobe
 
Histor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slideHistor y of HAM Radio presentation slide
Histor y of HAM Radio presentation slide
 
A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?A Year of the Servo Reboot: Where Are We Now?
A Year of the Servo Reboot: Where Are We Now?
 
2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...2024: Domino Containers - The Next Step. News from the Domino Container commu...
2024: Domino Containers - The Next Step. News from the Domino Container commu...
 
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
Apidays Singapore 2024 - Building Digital Trust in a Digital Economy by Veron...
 
Automating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps ScriptAutomating Google Workspace (GWS) & more with Apps Script
Automating Google Workspace (GWS) & more with Apps Script
 
The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024The 7 Things I Know About Cyber Security After 25 Years | April 2024
The 7 Things I Know About Cyber Security After 25 Years | April 2024
 
How to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected WorkerHow to Troubleshoot Apps for the Modern Connected Worker
How to Troubleshoot Apps for the Modern Connected Worker
 
Scaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organizationScaling API-first – The story of a global engineering organization
Scaling API-first – The story of a global engineering organization
 
Data Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt RobisonData Cloud, More than a CDP by Matt Robison
Data Cloud, More than a CDP by Matt Robison
 
Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024Axa Assurance Maroc - Insurer Innovation Award 2024
Axa Assurance Maroc - Insurer Innovation Award 2024
 
HTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation StrategiesHTML Injection Attacks: Impact and Mitigation Strategies
HTML Injection Attacks: Impact and Mitigation Strategies
 
Real Time Object Detection Using Open CV
Real Time Object Detection Using Open CVReal Time Object Detection Using Open CV
Real Time Object Detection Using Open CV
 
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
+971581248768>> SAFE AND ORIGINAL ABORTION PILLS FOR SALE IN DUBAI AND ABUDHA...
 
🐬 The future of MySQL is Postgres 🐘
🐬  The future of MySQL is Postgres   🐘🐬  The future of MySQL is Postgres   🐘
🐬 The future of MySQL is Postgres 🐘
 
presentation ICT roal in 21st century education
presentation ICT roal in 21st century educationpresentation ICT roal in 21st century education
presentation ICT roal in 21st century education
 
Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)Powerful Google developer tools for immediate impact! (2023-24 C)
Powerful Google developer tools for immediate impact! (2023-24 C)
 
Exploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone ProcessorsExploring the Future Potential of AI-Enabled Smartphone Processors
Exploring the Future Potential of AI-Enabled Smartphone Processors
 
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemkeProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
ProductAnonymous-April2024-WinProductDiscovery-MelissaKlemke
 

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

Notas do Editor

  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