SlideShare a Scribd company logo
1 of 34
Intro to Coding and APIs by Women Who Code Co-Founder NYC
www.productschool.com
FREE INVITE
Join 23,000+ Product Managers on
COURSES
Product Management
Learn the skills you need to land a product manager job
COURSES
Coding for Managers
Build a website and gain the technical knowledge to lead software engineers
COURSES
Data Analytics for Managers
Learn the skills to understand web analytics, SQL and machine learning concepts
COURSES
Blockchain and Cryptocurrencies
Learn how to trade cryptocurrencies and build products using the blockchain
Elizabeth Ferraro
TONIGHT’S SPEAKERS
INTRO TO
CODING AND APIS
ELIZABETH FERRAO
AGENDA
1. What is an API – API, endpoint, method
2. Make a call to Postman
3. Weather API
4. How to read through documentation
5. Twilio SMS API
6. Twilio SMS and Weather API combo!
OMG you’ve built an application! You can now call an API using Postman!
TOOLS
•Postman
•Weather API
•Twilio SMS API
PAIRING
Everyone turn to the person
to their right/left – team up!
Wifi: GRIND
Password: work liquid
SETUP:
1.Go to Weather API (www.openweathermap.org)
1. Sign up and sign in
2.Go to Twilio API (www.twilio.com)
1. Sign up and sign in (if you already have an account, you will need to insert your credit
card)
2. Verify your phone number
3.Go to Postman (www.getpostman.com)
1. Download Chrome/Mac app
2. Sign up and in
WHO IS ELIZABETH?
• Currently:
– Product Advisor at Pluto, Diversity+Inclusion
Tool
– Product Advisor at Streetmix, Urban Designing
tool
– Product Manager at American Express
– Co-founder Women Who Code NYC
• Previously:
– Entrepreneur in Residence for Civic Hall
– Head of Product for API Management startup
– Software Eng at Time Inc media company
• Twitter: @musingMurmurs
• Medium: @musingmurmurs
• LinkedIn: /in/elizabethferrao/
DONUTS!
medium.com/@musingmurmurs/do
nuts-1e731443ca94
DISCLAIMER
• I’m NOT an expert on APIs or Postman!
• Postman’s UI is so easy that I can pick it up and use it for casual use
• Twilio’s APIs make it ridiculously easy to do basic SMS stuff (if you forget, they have a
5min refresher tutorial!)
• OpenWeather API is so basic that I don’t get lost in all the weather options
ACCOLADES TO HUMANS YOU SHOULD FOLLOW
I want to highlight the awesome people behind the tools we’re using and the people who’ve helped
me get set up.
@GreggyB
Award: Most Twilio
Awesomeness
@ShachyJR
Award: Most API
debugging
@KaseyByrne
Award: Most
Postman Awesomeness
@Angadrey
Award: Most Helpful
Preparation
BY THE END…
• You will be have a comprehensive understanding of
APIs
• You will have called 2 APIs
• You will have Google searched 3 queries
"Give a woman a fish and she eats
for a day. Teach a woman
to fish and she eats for a lifetime."
WHAT IS AN API?
• Free Code Camp - https://medium.freecodecamp.org/what-is-an-api-in-english-please-
b880a3214a82
• Types of APIs: REST, SOAP
• Documenting REST APIs: https://swagger.io/docs/specification/basic-structure/
• Common gruntles against APIs:
– documentation isn’t updated
– API is down - many APIs have Status pages https://status.twilio.com/,
https://status.aws.amazon.com/
WHAT CAN AN API DO?
• Can request information – GET request
• Can send information – POST request
• New FULL information (update entire info) – PUT request
• New PARTIAL information (update only part of info) – PATCH
request
• Can delete information – DELETE request
COMMON TERMS - AUTHENTICATION
• Authentication key
• None – Weather API
• Basic Auth (username/password) – Twilio API
• Oauth 1.0 (2006-2012)
• Oauth 2.0 (2012+)
HOW TO USE POSTMAN
• Quick look through of Postman
WEATHER API
Go to https://openweathermap.org
>Let’s go play around!
1. Request “Current Weather Data” by clicking
an example call
1. Is that response - Yaml or Json?
WEATHER API IN POSTMAN
1. Paste an example URL in Postman -
api.openweathermap.org/data/2.5/weather
2. AT THE END – add the city ?q=London
3. AT THE END – add &appid= AND authentication key (ex:
5060f60e000a934875ec)
1. To find auth key, go to https://openweathermap.org/current
2. Click “Sign in”
3. Profile header includes “API Keys” > copy and paste that
Full URL will look like:
api.openweathermap.org/data/2.5/weather?q=London&appid=5060f60e00
0a934875ec
HOW TO READ A RESPONSE
• Google search “How to read
JSON”!
>https://www.google.com/search?q=how+to+read+json&oq=how+to+read+json&aqs=c
hrome..69i57j0l5.2376j1j1&sourceid=chrome&ie=UTF-8
SO…WHAT DID WE JUST DO?
• Let’s cross-reference this awesome article on
APIs https://restful.io/an-introduction-to-api-s-
cee90581ca1b
TWILIO API
Go to
https://www.twilio.com/console/sms/getting
-started/build
>Let’s go play around!
1. Send a “Programmable SMS” to your real number
from your Twilio number
TWILIO API INGREDIENTS
In your fav notes app, compile these 5 Ingredients:
1. (Programmable SMS > Learn and Build) Curl URL – ex:
https://api.twilio.com/2010-04-
01/Accounts/ACa37c6d30a2f5c/Messages.json
2. (Programmable SMS > Learn and Build) Twilio Number – ex: +1415-214-
8911
3. (Programmable SMS > Learn and Build) Real Phone Number – ex: +1-305-
814-7036
4. (Twilio Account Dashboard) Account SID - ex: ADsk83a9dsjfsd61c67uioc
5. (Twilio Account Dashboard) Auth Token - ex: c80cdsdfjkldsjfklsde374eb1
TWILIO API INTO POSTMAN –
GET REQUEST
1. Curl URL into Request box
2. Basic Auth
1. Username is Account SID
2. Password is Auth Token
3. Press SEND
TWILIO API INTO POSTMAN –
POST REQUEST
1. Curl URL into Request box
2. Basic Auth
1. Username is Account SID
2. Password is Auth Token
3. HEADERS > Content-type = application/x-www-form-urlencoded
4. HEADERS > Authorization = Basic Qsdjfkldsjkldsfjs
5. BODY > check x-www-form-urlencoded (NOT form-data)
1. In “New Key”, enter “To” : In ”Value” enter real phone number
2. In “New Key”, enter “From” : In ”Value” enter Twilio phone
number
3. In “New Key”, enter “Body” : In ”Value” enter “my first text
message from Postman!”
TWILIO DASHBOARD
• See past SMS on
twilio.com/console/sms/dashbo
ard
WEATHER AND TWILIO API
1.Copy any property of the method you just
called
2.Paste that into the body and SEND!
WANT TO LEARN MORE?
• Play around with calling more Twilio and Weather APIs!
• Try calling another API! https://www.programmableweb.com/apis/directory
– If working from the command line/Postman, a CURL link will be your request
• Homework: Try a Twilio Quickstart tutorial https://www.twilio.com/docs/sms/api
• Follow http://apievangelist.com/
Questions? DM me @MusingMurmurs
REQUEST:
TWEET 1 LEARNING, 1 PIC OF YOUR PROJECT, AND TAG
THEM! (AND ME @MUSINGMURMURS)
@GreggyB
Award: Most Twilio
Awesomeness
@ShachyJR
Award: Most API
debugging
@KaseyByrne
Award: Most
Postman Awesomeness
@Angadrey
Award: Most Helpful
Preparation
Part-time Product Management Courses in
San Francisco, Silicon Valley, Los Angeles, New York, Austin,
Boston, Seattle, Chicago, Denver, London, Toronto
www.productschool.com

More Related Content

Similar to Intro to Coding and APIs by Women Who Code Co-Founder NYC

Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)3scale
 
Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Twilio Inc
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuthUmang Goyal
 
Participation in Shop and Share model with apidd.com
Participation in Shop and Share model with apidd.comParticipation in Shop and Share model with apidd.com
Participation in Shop and Share model with apidd.comapidd
 
Tips To Rock At Hackathons
Tips To Rock At HackathonsTips To Rock At Hackathons
Tips To Rock At Hackathons3scale
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointYaroslav Pentsarskyy [MVP]
 
Web API Security
Web API SecurityWeb API Security
Web API SecurityStefaan
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iOMarc Pous
 
Secure your web app presentation
Secure your web app presentationSecure your web app presentation
Secure your web app presentationFrans Lytzen
 
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...Codemotion
 
State of Web Security RailsConf 2016
State of Web Security RailsConf 2016State of Web Security RailsConf 2016
State of Web Security RailsConf 2016IMMUNIO
 
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIWebinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIARDC
 
Api fundamentals
Api fundamentalsApi fundamentals
Api fundamentalsAgileDenver
 
Dorking & Pentesting with Tacyt
Dorking & Pentesting with TacytDorking & Pentesting with Tacyt
Dorking & Pentesting with TacytChema Alonso
 
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]RootedCON
 
Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017JoEllen Carter
 
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...How to Incorporate a Security-First Approach to Your Products by spiderSlik C...
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...Product School
 
Api design best practices from a hacker's view
Api design best practices   from a hacker's viewApi design best practices   from a hacker's view
Api design best practices from a hacker's viewhe sicong
 
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraPetr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraWebExpo
 

Similar to Intro to Coding and APIs by Women Who Code Co-Founder NYC (20)

Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
Making Hacker’s Life Easier at Hackathons (3scale at Barcelona MusicHackDays)
 
Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010Building A Great API - Evan Cooke, Cloudstock, December 2010
Building A Great API - Evan Cooke, Cloudstock, December 2010
 
Swift meetup22june2015
Swift meetup22june2015Swift meetup22june2015
Swift meetup22june2015
 
Linkedin & OAuth
Linkedin & OAuthLinkedin & OAuth
Linkedin & OAuth
 
Participation in Shop and Share model with apidd.com
Participation in Shop and Share model with apidd.comParticipation in Shop and Share model with apidd.com
Participation in Shop and Share model with apidd.com
 
Tips To Rock At Hackathons
Tips To Rock At HackathonsTips To Rock At Hackathons
Tips To Rock At Hackathons
 
Get started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePointGet started with building native mobile apps interacting with SharePoint
Get started with building native mobile apps interacting with SharePoint
 
Web API Security
Web API SecurityWeb API Security
Web API Security
 
Training thethings.iO
Training thethings.iOTraining thethings.iO
Training thethings.iO
 
Secure your web app presentation
Secure your web app presentationSecure your web app presentation
Secure your web app presentation
 
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...
Securing your apps with OAuth2 and OpenID Connect - Roland Guijt - Codemotion...
 
State of Web Security RailsConf 2016
State of Web Security RailsConf 2016State of Web Security RailsConf 2016
State of Web Security RailsConf 2016
 
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID APIWebinar: API Extravaganza! Combining Google Analytics and ORCID API
Webinar: API Extravaganza! Combining Google Analytics and ORCID API
 
Api fundamentals
Api fundamentalsApi fundamentals
Api fundamentals
 
Dorking & Pentesting with Tacyt
Dorking & Pentesting with TacytDorking & Pentesting with Tacyt
Dorking & Pentesting with Tacyt
 
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]
Chema Alonso - Dorking, Pentesting & Hacking con Android Apps [rootedvlc2]
 
Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017Api FUNdamentals #MHA2017
Api FUNdamentals #MHA2017
 
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...How to Incorporate a Security-First Approach to Your Products by spiderSlik C...
How to Incorporate a Security-First Approach to Your Products by spiderSlik C...
 
Api design best practices from a hacker's view
Api design best practices   from a hacker's viewApi design best practices   from a hacker's view
Api design best practices from a hacker's view
 
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developeraPetr Dvořák: Mobilní webové služby pohledem iPhone developera
Petr Dvořák: Mobilní webové služby pohledem iPhone developera
 

More from Product School

Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechProduct School
 
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...Product School
 
Relationship Counselling: From Disjointed Features to Product-First Thinking ...
Relationship Counselling: From Disjointed Features to Product-First Thinking ...Relationship Counselling: From Disjointed Features to Product-First Thinking ...
Relationship Counselling: From Disjointed Features to Product-First Thinking ...Product School
 
Launching New Products In Companies Where It Matters Most by Product Director...
Launching New Products In Companies Where It Matters Most by Product Director...Launching New Products In Companies Where It Matters Most by Product Director...
Launching New Products In Companies Where It Matters Most by Product Director...Product School
 
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...Product School
 
Revolutionizing The Banking Industry: The Monzo Way by CPO, Monzo
Revolutionizing The Banking Industry: The Monzo Way by CPO, MonzoRevolutionizing The Banking Industry: The Monzo Way by CPO, Monzo
Revolutionizing The Banking Industry: The Monzo Way by CPO, MonzoProduct School
 
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...Product School
 
Act Like an Owner, Challenge Like a VC by former CPO, Tripadvisor
Act Like an Owner,  Challenge Like a VC by former CPO, TripadvisorAct Like an Owner,  Challenge Like a VC by former CPO, Tripadvisor
Act Like an Owner, Challenge Like a VC by former CPO, TripadvisorProduct School
 
The Future of Product, by Founder & CEO, Product School
The Future of Product, by Founder & CEO, Product SchoolThe Future of Product, by Founder & CEO, Product School
The Future of Product, by Founder & CEO, Product SchoolProduct School
 
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdf
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdfWebinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdf
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdfProduct School
 
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM Leader
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM LeaderWebinar: Using GenAI for Increasing Productivity in PM by Amazon PM Leader
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM LeaderProduct School
 
Unlocking High-Performance Product Teams by former Meta Global PMM
Unlocking High-Performance Product Teams by former Meta Global PMMUnlocking High-Performance Product Teams by former Meta Global PMM
Unlocking High-Performance Product Teams by former Meta Global PMMProduct School
 
The Types of TPM Content Roles by Facebook product Leader
The Types of TPM Content Roles by Facebook product LeaderThe Types of TPM Content Roles by Facebook product Leader
The Types of TPM Content Roles by Facebook product LeaderProduct School
 
Match Is the New Sell in The Digital World by Amazon Product leader
Match Is the New Sell in The Digital World by Amazon Product leaderMatch Is the New Sell in The Digital World by Amazon Product leader
Match Is the New Sell in The Digital World by Amazon Product leaderProduct School
 
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping Revolution
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping RevolutionBeyond the Cart: Unleashing AI Wonders with Instacart’s Shopping Revolution
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping RevolutionProduct School
 
Designing Great Products The Power of Design and Leadership
Designing Great Products The Power of Design and LeadershipDesigning Great Products The Power of Design and Leadership
Designing Great Products The Power of Design and LeadershipProduct School
 
Command the Room: Empower Your Team of Product Managers with Effective Commun...
Command the Room: Empower Your Team of Product Managers with Effective Commun...Command the Room: Empower Your Team of Product Managers with Effective Commun...
Command the Room: Empower Your Team of Product Managers with Effective Commun...Product School
 
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...Product School
 
Customer-Centric PM: Anticipating Needs Across the Product Life Cycle
Customer-Centric PM: Anticipating Needs Across the Product Life CycleCustomer-Centric PM: Anticipating Needs Across the Product Life Cycle
Customer-Centric PM: Anticipating Needs Across the Product Life CycleProduct School
 
AI in Action The New Age of Intelligent Products and Sales Automation
AI in Action The New Age of Intelligent Products and Sales AutomationAI in Action The New Age of Intelligent Products and Sales Automation
AI in Action The New Age of Intelligent Products and Sales AutomationProduct School
 

More from Product School (20)

Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - TechWebinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
Webinar: The Art of Prioritizing Your Product Roadmap by AWS Sr PM - Tech
 
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...
Harnessing the Power of GenAI for Exceptional Product Outcomes by Booking.com...
 
Relationship Counselling: From Disjointed Features to Product-First Thinking ...
Relationship Counselling: From Disjointed Features to Product-First Thinking ...Relationship Counselling: From Disjointed Features to Product-First Thinking ...
Relationship Counselling: From Disjointed Features to Product-First Thinking ...
 
Launching New Products In Companies Where It Matters Most by Product Director...
Launching New Products In Companies Where It Matters Most by Product Director...Launching New Products In Companies Where It Matters Most by Product Director...
Launching New Products In Companies Where It Matters Most by Product Director...
 
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...
Cultivating Entrepreneurial Mindset in Product Management: Strategies for Suc...
 
Revolutionizing The Banking Industry: The Monzo Way by CPO, Monzo
Revolutionizing The Banking Industry: The Monzo Way by CPO, MonzoRevolutionizing The Banking Industry: The Monzo Way by CPO, Monzo
Revolutionizing The Banking Industry: The Monzo Way by CPO, Monzo
 
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...
Synergy in Leadership and Product Excellence: A Blueprint for Growth by CPO, ...
 
Act Like an Owner, Challenge Like a VC by former CPO, Tripadvisor
Act Like an Owner,  Challenge Like a VC by former CPO, TripadvisorAct Like an Owner,  Challenge Like a VC by former CPO, Tripadvisor
Act Like an Owner, Challenge Like a VC by former CPO, Tripadvisor
 
The Future of Product, by Founder & CEO, Product School
The Future of Product, by Founder & CEO, Product SchoolThe Future of Product, by Founder & CEO, Product School
The Future of Product, by Founder & CEO, Product School
 
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdf
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdfWebinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdf
Webinar How PMs Use AI to 10X Their Productivity by Product School EiR.pdf
 
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM Leader
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM LeaderWebinar: Using GenAI for Increasing Productivity in PM by Amazon PM Leader
Webinar: Using GenAI for Increasing Productivity in PM by Amazon PM Leader
 
Unlocking High-Performance Product Teams by former Meta Global PMM
Unlocking High-Performance Product Teams by former Meta Global PMMUnlocking High-Performance Product Teams by former Meta Global PMM
Unlocking High-Performance Product Teams by former Meta Global PMM
 
The Types of TPM Content Roles by Facebook product Leader
The Types of TPM Content Roles by Facebook product LeaderThe Types of TPM Content Roles by Facebook product Leader
The Types of TPM Content Roles by Facebook product Leader
 
Match Is the New Sell in The Digital World by Amazon Product leader
Match Is the New Sell in The Digital World by Amazon Product leaderMatch Is the New Sell in The Digital World by Amazon Product leader
Match Is the New Sell in The Digital World by Amazon Product leader
 
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping Revolution
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping RevolutionBeyond the Cart: Unleashing AI Wonders with Instacart’s Shopping Revolution
Beyond the Cart: Unleashing AI Wonders with Instacart’s Shopping Revolution
 
Designing Great Products The Power of Design and Leadership
Designing Great Products The Power of Design and LeadershipDesigning Great Products The Power of Design and Leadership
Designing Great Products The Power of Design and Leadership
 
Command the Room: Empower Your Team of Product Managers with Effective Commun...
Command the Room: Empower Your Team of Product Managers with Effective Commun...Command the Room: Empower Your Team of Product Managers with Effective Commun...
Command the Room: Empower Your Team of Product Managers with Effective Commun...
 
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...
Metrics That Matter: Bridging User Needs and Board Priorities for Business Su...
 
Customer-Centric PM: Anticipating Needs Across the Product Life Cycle
Customer-Centric PM: Anticipating Needs Across the Product Life CycleCustomer-Centric PM: Anticipating Needs Across the Product Life Cycle
Customer-Centric PM: Anticipating Needs Across the Product Life Cycle
 
AI in Action The New Age of Intelligent Products and Sales Automation
AI in Action The New Age of Intelligent Products and Sales AutomationAI in Action The New Age of Intelligent Products and Sales Automation
AI in Action The New Age of Intelligent Products and Sales Automation
 

Recently uploaded

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationSafe Software
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Patryk Bandurski
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphNeo4j
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machinePadma Pradeep
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxKatpro Technologies
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Allon Mureinik
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Alan Dix
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdfhans926745
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreternaman860154
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024BookNet Canada
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptxHampshireHUG
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?XfilesPro
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptxLBM Solutions
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticscarlostorres15106
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)Gabriella Davis
 
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 organizationRadu Cotescu
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesSinan KOZAK
 

Recently uploaded (20)

Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
Neo4j - How KGs are shaping the future of Generative AI at AWS Summit London ...
 
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry InnovationBeyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
Beyond Boundaries: Leveraging No-Code Solutions for Industry Innovation
 
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
Transcript: #StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
Integration and Automation in Practice: CI/CD in Mule Integration and Automat...
 
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge GraphSIEMENS: RAPUNZEL – A Tale About Knowledge Graph
SIEMENS: RAPUNZEL – A Tale About Knowledge Graph
 
Install Stable Diffusion in windows machine
Install Stable Diffusion in windows machineInstall Stable Diffusion in windows machine
Install Stable Diffusion in windows machine
 
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptxFactors to Consider When Choosing Accounts Payable Services Providers.pptx
Factors to Consider When Choosing Accounts Payable Services Providers.pptx
 
Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)Injustice - Developers Among Us (SciFiDevCon 2024)
Injustice - Developers Among Us (SciFiDevCon 2024)
 
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...Swan(sea) Song – personal research during my six years at Swansea ... and bey...
Swan(sea) Song – personal research during my six years at Swansea ... and bey...
 
[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf[2024]Digital Global Overview Report 2024 Meltwater.pdf
[2024]Digital Global Overview Report 2024 Meltwater.pdf
 
Presentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreterPresentation on how to chat with PDF using ChatGPT code interpreter
Presentation on how to chat with PDF using ChatGPT code interpreter
 
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
#StandardsGoals for 2024: What’s new for BISAC - Tech Forum 2024
 
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
04-2024-HHUG-Sales-and-Marketing-Alignment.pptx
 
Pigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food ManufacturingPigging Solutions in Pet Food Manufacturing
Pigging Solutions in Pet Food Manufacturing
 
How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?How to Remove Document Management Hurdles with X-Docs?
How to Remove Document Management Hurdles with X-Docs?
 
Key Features Of Token Development (1).pptx
Key  Features Of Token  Development (1).pptxKey  Features Of Token  Development (1).pptx
Key Features Of Token Development (1).pptx
 
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmaticsKotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
Kotlin Multiplatform & Compose Multiplatform - Starter kit for pragmatics
 
A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)A Domino Admins Adventures (Engage 2024)
A Domino Admins Adventures (Engage 2024)
 
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
 
Unblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen FramesUnblocking The Main Thread Solving ANRs and Frozen Frames
Unblocking The Main Thread Solving ANRs and Frozen Frames
 

Intro to Coding and APIs by Women Who Code Co-Founder NYC

  • 1. Intro to Coding and APIs by Women Who Code Co-Founder NYC www.productschool.com
  • 2. FREE INVITE Join 23,000+ Product Managers on
  • 3. COURSES Product Management Learn the skills you need to land a product manager job
  • 4. COURSES Coding for Managers Build a website and gain the technical knowledge to lead software engineers
  • 5. COURSES Data Analytics for Managers Learn the skills to understand web analytics, SQL and machine learning concepts
  • 6. COURSES Blockchain and Cryptocurrencies Learn how to trade cryptocurrencies and build products using the blockchain
  • 8. INTRO TO CODING AND APIS ELIZABETH FERRAO
  • 9. AGENDA 1. What is an API – API, endpoint, method 2. Make a call to Postman 3. Weather API 4. How to read through documentation 5. Twilio SMS API 6. Twilio SMS and Weather API combo! OMG you’ve built an application! You can now call an API using Postman!
  • 11. PAIRING Everyone turn to the person to their right/left – team up!
  • 13. SETUP: 1.Go to Weather API (www.openweathermap.org) 1. Sign up and sign in 2.Go to Twilio API (www.twilio.com) 1. Sign up and sign in (if you already have an account, you will need to insert your credit card) 2. Verify your phone number 3.Go to Postman (www.getpostman.com) 1. Download Chrome/Mac app 2. Sign up and in
  • 14. WHO IS ELIZABETH? • Currently: – Product Advisor at Pluto, Diversity+Inclusion Tool – Product Advisor at Streetmix, Urban Designing tool – Product Manager at American Express – Co-founder Women Who Code NYC • Previously: – Entrepreneur in Residence for Civic Hall – Head of Product for API Management startup – Software Eng at Time Inc media company • Twitter: @musingMurmurs • Medium: @musingmurmurs • LinkedIn: /in/elizabethferrao/ DONUTS! medium.com/@musingmurmurs/do nuts-1e731443ca94
  • 15. DISCLAIMER • I’m NOT an expert on APIs or Postman! • Postman’s UI is so easy that I can pick it up and use it for casual use • Twilio’s APIs make it ridiculously easy to do basic SMS stuff (if you forget, they have a 5min refresher tutorial!) • OpenWeather API is so basic that I don’t get lost in all the weather options
  • 16. ACCOLADES TO HUMANS YOU SHOULD FOLLOW I want to highlight the awesome people behind the tools we’re using and the people who’ve helped me get set up. @GreggyB Award: Most Twilio Awesomeness @ShachyJR Award: Most API debugging @KaseyByrne Award: Most Postman Awesomeness @Angadrey Award: Most Helpful Preparation
  • 17. BY THE END… • You will be have a comprehensive understanding of APIs • You will have called 2 APIs • You will have Google searched 3 queries "Give a woman a fish and she eats for a day. Teach a woman to fish and she eats for a lifetime."
  • 18. WHAT IS AN API? • Free Code Camp - https://medium.freecodecamp.org/what-is-an-api-in-english-please- b880a3214a82 • Types of APIs: REST, SOAP • Documenting REST APIs: https://swagger.io/docs/specification/basic-structure/ • Common gruntles against APIs: – documentation isn’t updated – API is down - many APIs have Status pages https://status.twilio.com/, https://status.aws.amazon.com/
  • 19. WHAT CAN AN API DO? • Can request information – GET request • Can send information – POST request • New FULL information (update entire info) – PUT request • New PARTIAL information (update only part of info) – PATCH request • Can delete information – DELETE request
  • 20. COMMON TERMS - AUTHENTICATION • Authentication key • None – Weather API • Basic Auth (username/password) – Twilio API • Oauth 1.0 (2006-2012) • Oauth 2.0 (2012+)
  • 21. HOW TO USE POSTMAN • Quick look through of Postman
  • 22. WEATHER API Go to https://openweathermap.org >Let’s go play around! 1. Request “Current Weather Data” by clicking an example call 1. Is that response - Yaml or Json?
  • 23. WEATHER API IN POSTMAN 1. Paste an example URL in Postman - api.openweathermap.org/data/2.5/weather 2. AT THE END – add the city ?q=London 3. AT THE END – add &appid= AND authentication key (ex: 5060f60e000a934875ec) 1. To find auth key, go to https://openweathermap.org/current 2. Click “Sign in” 3. Profile header includes “API Keys” > copy and paste that Full URL will look like: api.openweathermap.org/data/2.5/weather?q=London&appid=5060f60e00 0a934875ec
  • 24. HOW TO READ A RESPONSE • Google search “How to read JSON”! >https://www.google.com/search?q=how+to+read+json&oq=how+to+read+json&aqs=c hrome..69i57j0l5.2376j1j1&sourceid=chrome&ie=UTF-8
  • 25. SO…WHAT DID WE JUST DO? • Let’s cross-reference this awesome article on APIs https://restful.io/an-introduction-to-api-s- cee90581ca1b
  • 26. TWILIO API Go to https://www.twilio.com/console/sms/getting -started/build >Let’s go play around! 1. Send a “Programmable SMS” to your real number from your Twilio number
  • 27. TWILIO API INGREDIENTS In your fav notes app, compile these 5 Ingredients: 1. (Programmable SMS > Learn and Build) Curl URL – ex: https://api.twilio.com/2010-04- 01/Accounts/ACa37c6d30a2f5c/Messages.json 2. (Programmable SMS > Learn and Build) Twilio Number – ex: +1415-214- 8911 3. (Programmable SMS > Learn and Build) Real Phone Number – ex: +1-305- 814-7036 4. (Twilio Account Dashboard) Account SID - ex: ADsk83a9dsjfsd61c67uioc 5. (Twilio Account Dashboard) Auth Token - ex: c80cdsdfjkldsjfklsde374eb1
  • 28. TWILIO API INTO POSTMAN – GET REQUEST 1. Curl URL into Request box 2. Basic Auth 1. Username is Account SID 2. Password is Auth Token 3. Press SEND
  • 29. TWILIO API INTO POSTMAN – POST REQUEST 1. Curl URL into Request box 2. Basic Auth 1. Username is Account SID 2. Password is Auth Token 3. HEADERS > Content-type = application/x-www-form-urlencoded 4. HEADERS > Authorization = Basic Qsdjfkldsjkldsfjs 5. BODY > check x-www-form-urlencoded (NOT form-data) 1. In “New Key”, enter “To” : In ”Value” enter real phone number 2. In “New Key”, enter “From” : In ”Value” enter Twilio phone number 3. In “New Key”, enter “Body” : In ”Value” enter “my first text message from Postman!”
  • 30. TWILIO DASHBOARD • See past SMS on twilio.com/console/sms/dashbo ard
  • 31. WEATHER AND TWILIO API 1.Copy any property of the method you just called 2.Paste that into the body and SEND!
  • 32. WANT TO LEARN MORE? • Play around with calling more Twilio and Weather APIs! • Try calling another API! https://www.programmableweb.com/apis/directory – If working from the command line/Postman, a CURL link will be your request • Homework: Try a Twilio Quickstart tutorial https://www.twilio.com/docs/sms/api • Follow http://apievangelist.com/ Questions? DM me @MusingMurmurs
  • 33. REQUEST: TWEET 1 LEARNING, 1 PIC OF YOUR PROJECT, AND TAG THEM! (AND ME @MUSINGMURMURS) @GreggyB Award: Most Twilio Awesomeness @ShachyJR Award: Most API debugging @KaseyByrne Award: Most Postman Awesomeness @Angadrey Award: Most Helpful Preparation
  • 34. Part-time Product Management Courses in San Francisco, Silicon Valley, Los Angeles, New York, Austin, Boston, Seattle, Chicago, Denver, London, Toronto www.productschool.com