Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Node.jsで Pokemon Go おふぃすハック #iotlt

n0bisuke
August 12, 2016

Node.jsで Pokemon Go おふぃすハック #iotlt

#iotlt vol18の発表です。 ( http://iotlt.connpass.com/event/35436/ )
PokemonGoで近くにポケモンがでたらでPepperが教えてくれるやつを作りました。

デモ動画はこちら https://goo.gl/photos/UQUGD71dmx8ohTH5A

イベント中に宣伝したPepperとBEAMSのハッカソンはこちら http://www.beams.co.jp/special/pepperatbj_hack/

n0bisuke

August 12, 2016
Tweet

More Decks by n0bisuke

Other Decks in Technology

Transcript

  1. About Me • @n0bisuke • dotstudioגࣜձࣾ ୅දऔక໾ • ࠷ۙͷڵຯ: IoT

    / JavaScript Robotics • 89ੈ୅ (ฏ੒ݩ೥) • MilkcocoaΤόϯδΣϦετ • #IoTLT #NodeBots • ޷͖ͳAWS͸Route53 (ٸᬎ)
  2. ೥݄ݱࡏͷϨϕϧͱੑ֨ߟ࡯ 2016/7/22ࠒ͔ΒϓϨΠ։͍࢝ͯ͠Δਓ͸… ɾLv ~4: ͙͢๞͖ͨ ɾLv 5~9: δϜઓͰ࠳ંͯ͠๞͖ͨ ɾLv 10~19:

    ՝ۚ͸ઈରʹ͠ͳ͍த్൒୺੎ྗ ɾLv 20~25 : Ψνؾຯ͚ͩͲ՝ۚ͸ͯ͠ͳ͍ਓ ͕ଟ͍ ɾLv 26~: ΄΅՝ۚͯ͠ΔΨν੎ྗ
  3. ೥݄ݱࡏͷϨϕϧͱੑ֨ߟ࡯ 2016/7/22ࠒ͔ΒϓϨΠ։͍࢝ͯ͠Δਓ͸… ɾLv ~4: ͙͢๞͖ͨ ɾLv 5~9: δϜઓͰ࠳ંͯ͠๞͖ͨ ɾLv 10~19:

    ՝ۚ͸ઈରʹ͠ͳ͍த్൒୺੎ྗ ɾLv 20~25 : Ψνؾຯ͚ͩͲ՝ۚ͸ͯ͠ͳ͍ਓ ͕ଟ͍ ɾLv 26~: ΄΅՝ۚͯ͠ΔΨν੎ྗ ग़ۈ͔ͯ͠ΒΞϓϦΛىಈ͠ͳ͍·· ී௨ʹ਺࣌ؒܦͬͯΔ
  4. OPEFW W OQNJOTUBMMQPLFNPOHPOPEFBQJ QPLFNPOHPOPEFBQJ͕ྑͦ͞͏ͩͬͨ AAABQQKT 'use strict'; const PokemonGO =

    require('./node_modules/pokemon-go-node-api/poke.io.js'); let a = new PokemonGO.Pokeio(); let location = { type: 'name', name: process.env.PGO_LOCATION || 'Taito,Tokyo/Taito-ku' //୆౦۠୆౦ }; var username = process.env.PGO_USERNAME || '[email protected]'; var password = process.env.PGO_PASSWORD || 'gmailͷύεϫʔυ'; var provider = process.env.PGO_PROVIDER || ‘google'; ɾ ɾ (লུ)