new credential added + template

This commit is contained in:
Akamaru 2015-05-09 23:57:19 +02:00
parent a38049eb00
commit b02a7abc4d
4 changed files with 62 additions and 2 deletions

1
.gitignore vendored
View File

@ -1,5 +1,4 @@
res/
data/
.luarocks
*.db
plugins/alive.lua

View File

@ -225,16 +225,22 @@ function create_cred( )
derpibooru_apikey = "",
fb_access_token = "",
gender_apikey = "",
google_apikey = "",
google_cse_id = "",
instagram_access_token = "",
lyricsnmusic_apikey = "",
neutrino_userid = "",
neutrino_apikey = "",
page2images_restkey = "",
soundcloud_client_id = "",
superfeedr_authorization = "=",
tw_consumer_key = "",
tw_consumer_secret = "",
tw_access_token = "",
tw_access_token_secret = ""
tw_access_token_secret = "",
x_mashape_key = "",
yandex_translate_apikey = "",
yandex_rich_content_apikey = ""
}
serialize_to_file(cred, './data/credentials.lua')
print ('saved credentials into ./data/credentials.lua')

View File

55
data/credentials.lua Normal file
View File

@ -0,0 +1,55 @@
--This is an example
do local _ = {
-- Bitly
bitly_access_token = "",
-- Cloudconvert
cloudconvert_apikey = "",
-- Derpibooru
derpibooru_apikey = "",
-- Facebook
fb_access_token = "",
-- Gender-API
gender_apikey = "",
-- Google
google_apikey = "",
google_cse_id = "",
-- Instagram
instagram_access_token = "",
-- Lyricsnmusic
lyricsnmusic_apikey = "",
-- Neutrino-API (IP-Info)
neutrino_userid = "",
neutrino_apikey = "",
-- Page2Images
page2images_restkey = "",
-- Soundcloud
soundcloud_client_id = "",
-- Superfeedr
superfeedr_authorization = "=",
-- Twitter
tw_consumer_key = "",
tw_consumer_secret = "",
tw_access_token = "",
tw_access_token_secret = "",
-- X-Mashape-Key
x_mashape_key = "",
-- Yandex
yandex_translate_apikey = "",
yandex_rich_content_apikey = ""
}
return _
end