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 26
26
* .exe
27
27
* .out
28
28
* .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 1
1
name =YoutubeApi
2
- version =1.0
2
+ version =1.0.0
3
3
author =Brian Lough
4
4
maintainer =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
7
7
category =Communication
8
8
url =https://github.com/witnessmenow/arduino-youtube-api
9
9
architectures =*
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
-
2
1
/*
2
+ Copyright (c) 2017 Brian Lough. All right reserved.
3
+
4
+ YoutubeApi - An Arduino wrapper for the YouTube API
3
5
4
6
This library is free software; you can redistribute it and/or
5
7
modify it under the terms of the GNU Lesser General Public
Original file line number Diff line number Diff line change 1
1
/*
2
- Copyright (c) 2015 Giancarlo Bacchio . All right reserved.
2
+ Copyright (c) 2017 Brian Lough . All right reserved.
3
3
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
7
5
8
6
This library is free software; you can redistribute it and/or
9
7
modify it under the terms of the GNU Lesser General Public
@@ -50,10 +48,8 @@ class YoutubeApi
50
48
String sendGetToYoutube (String command);
51
49
bool getChannelStatistics (String channelId);
52
50
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
54
51
55
52
private:
56
- // JsonObject * parseUpdates(String response);
57
53
String _apiKey;
58
54
Client *client;
59
55
const int maxMessageLength = 1000 ;
You can’t perform that action at this time.
0 commit comments