File tree Expand file tree Collapse file tree 8 files changed +88
-10
lines changed
Expand file tree Collapse file tree 8 files changed +88
-10
lines changed Original file line number Diff line number Diff line change 2626* .exe
2727* .out
2828* .app
29+ .pioenvs
30+ .piolibdeps
31+ .clang_complete
32+ .gcc-flags.json
Original file line number Diff line number Diff line change 1+ language : python
2+ python :
3+ - " 2.7"
4+
5+ # Cache PlatformIO packages using Travis CI container-based infrastructure
6+ sudo : false
7+ cache :
8+ directories :
9+ - " ~/.platformio"
10+
11+ env :
12+ - SCRIPT=platformioSingle EXAMPLE_NAME=ChannelStatistics EXAMPLE_FOLDER=/ BOARDTYPE=ESP8266 BOARD=d1_mini
13+
14+
15+ install :
16+ - pip install -U platformio
17+ #
18+ # Libraries from PlatformIO Library Registry:
19+ #
20+ # http://platformio.org/lib/show/64/ArduinoJson
21+ - platformio lib -g install 64
22+
23+ script : scripts/travis/$SCRIPT.sh
Original file line number Diff line number Diff line change 1+
2+ This directory is intended for the project specific (private) libraries.
3+ PlatformIO will compile them to static libraries and link to executable file.
4+
5+ The source code of each library should be placed in separate directory, like
6+ "lib/private_lib/[here are source files]".
7+
8+ For example, see how can be organized `Foo` and `Bar` libraries:
9+
10+ |--lib
11+ | |--Bar
12+ | | |--docs
13+ | | |--examples
14+ | | |--src
15+ | | |- Bar.c
16+ | | |- Bar.h
17+ | |--Foo
18+ | | |- Foo.c
19+ | | |- Foo.h
20+ | |- readme.txt --> THIS FILE
21+ |- platformio.ini
22+ |--src
23+ |- main.c
24+
25+ Then in `src/main.c` you should use:
26+
27+ #include <Foo.h>
28+ #include <Bar.h>
29+
30+ // rest H/C/CPP code
31+
32+ PlatformIO will find your libraries automatically, configure preprocessor's
33+ include paths and build them.
34+
35+ More information about PlatformIO Library Dependency Finder
36+ - http://docs.platformio.org/page/librarymanager/ldf.html
Original file line number Diff line number Diff line change 11name =YoutubeApi
2- version =1.0
2+ version =1.0.0
33author =Brian Lough
44maintainer =Brian Lough <
[email protected] >
5- sentence =A wrapper for the YouTube API for Arduino (works on ESP8266)
6- paragraph =A wrapper for the YouTube API for Arduino (works on ESP8266)
5+ sentence =A wrapper for the YouTube API for Arduino (supports ESP8266 & WiFi101 boards )
6+ paragraph =Use this library to get YouTube channel statistics
77category =Communication
88url =https://github.com/witnessmenow/arduino-youtube-api
99architectures =*
Original file line number Diff line number Diff line change 1+ ; PlatformIO Project Configuration File
2+ ;
3+ ; Build options: build flags, source filter
4+ ; Upload options: custom upload port, speed and extra flags
5+ ; Library options: dependencies, extra library storages
6+ ; Advanced options: extra scripting
7+ ;
8+ ; Please visit documentation for the other options and examples
9+ ; http://docs.platformio.org/page/projectconf.html
10+
11+ [env:d1_mini]
12+ platform = espressif8266
13+ board = d1_mini
14+ framework = arduino
Original file line number Diff line number Diff line change 1+ #! /bin/sh -eux
2+
3+ platformio ci $PWD /examples/$BOARDTYPE$EXAMPLE_FOLDER$EXAMPLE_NAME /$EXAMPLE_NAME .ino -l ' .' -b $BOARD
Original file line number Diff line number Diff line change 1-
21/*
2+ Copyright (c) 2017 Brian Lough. All right reserved.
3+
4+ YoutubeApi - An Arduino wrapper for the YouTube API
35
46This library is free software; you can redistribute it and/or
57modify it under the terms of the GNU Lesser General Public
Original file line number Diff line number Diff line change 11/*
2- Copyright (c) 2015 Giancarlo Bacchio . All right reserved.
2+ Copyright (c) 2017 Brian Lough . All right reserved.
33
4- TelegramBot - Library to create your own Telegram Bot using
5- ESP8266 on Arduino IDE.
6- Ref. Library at https:github/esp8266/Arduino
4+ YoutubeApi - An Arduino wrapper for the YouTube API
75
86This library is free software; you can redistribute it and/or
97modify it under the terms of the GNU Lesser General Public
@@ -50,10 +48,8 @@ class YoutubeApi
5048 String sendGetToYoutube (String command);
5149 bool getChannelStatistics (String channelId);
5250 channelStatistics channelStats;
53- const char * fingerprint = " 3F:AE:17:DA:03:65:45:BE:CE:77:2F:8A:DC:5B:C9:08:98:7E:9E:E7" ; // Telegram.org Certificate
5451
5552 private:
56- // JsonObject * parseUpdates(String response);
5753 String _apiKey;
5854 Client *client;
5955 const int maxMessageLength = 1000 ;
You can’t perform that action at this time.
0 commit comments