Merge pull request #2 from daffainfo/dev

Added 8 checkers
pull/4/head 1.0.1
Muhammad Daffa 2021-07-30 08:10:57 +07:00 committed by GitHub
commit f851625dc8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 183 additions and 163 deletions

View File

@ -6,10 +6,6 @@ import (
"net/http"
)
var (
arr []string
)
const (
red string = "\033[31m"
green string = "\033[32m"
@ -22,20 +18,29 @@ func parse_json() []string {
"Asana Access token",
"Bing Maps API Key",
"Bit.ly Access token",
"Block.io API Key",
"Branch.IO Key and Secret",
"BrowserStack Access Key",
"Buildkite Access token",
"ButterCMS API Key",
"ButterCMS API Key", // 8
"Calendarific API Key",
"Calendly API Key",
"CircleCI Access Token",
"Coinmarketcap API Key",
"Covalent API Key",
"Cryptocompare API Key",
"DataDog API key",
"EAN-Search Access Token",
"Facebook Access Token",
"Fungenerator API Key",
"Github Token",
"Heroku API Key",
"Holiday API Key",
"Hubspot API Key",
"Ipstack API Key",
"Iterable API Key",
"Jumpcloud API key",
"Localytics API and Secret key",
"Lokalise API Key",
"Loqate API key",
"MailGun API Key",
@ -51,9 +56,9 @@ func parse_json() []string {
"Travis CI API token",
"Twilio Account_sid and Auth token",
"Visual Studio App Center API Token",
"Youtube API Key",
"WakaTime API Key",
"WPEngine API Key",
"WakaTime API Key",
"Youtube API Key",
"Zendesk Access token"}
return listname
}
@ -105,12 +110,15 @@ func normal_curl(url string, need_headers int, set_header string, value_header s
}
//basic auth
func basic_auth(url string, username string, password string) int {
func basic_auth(url string, username string, password string, need_headers int, set_header string, value_header string) int {
req, err := http.NewRequest("GET", url, nil)
if err != nil {
log.Fatal(err)
}
req.SetBasicAuth(username, password)
if need_headers == 1 {
req.Header.Set(set_header, value_header)
}
resp, err := http.DefaultClient.Do(req)
if err != nil {
@ -123,7 +131,7 @@ func basic_auth(url string, username string, password string) int {
func Amplitude(amplitude_key string, amplitude_secret string) string {
url := "https://amplitude.com/api/2/export?start=20200201T5&end=20210203T20"
a := basic_auth(url, amplitude_key, amplitude_secret)
a := basic_auth(url, amplitude_key, amplitude_secret, 0, "", "")
return output_status(parse_json()[0], a)
}
@ -150,6 +158,13 @@ func Bitly(bitly_token string) string {
return output_error_msg(parse_json()[3], a, error_msg)
}
func Block(block_api string) string {
url := "https://block.io/api/v2/get_balance/?api_key=" + block_api
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[4], b) //(INI 4)
}
func Branch(branch_key string, branch_secret string) string {
url := "https://api2.branch.io/v1/app/" + branch_key + "?branch_secret=" + branch_secret
_, b := normal_curl(url, 0, "", "")
@ -159,7 +174,7 @@ func Branch(branch_key string, branch_secret string) string {
func Browserstack(browserstack_username string, browserstack_key string) string {
url := "https://api.browserstack.com/automate/plan.json"
a := basic_auth(url, browserstack_username, browserstack_key)
a := basic_auth(url, browserstack_username, browserstack_key, 0, "", "")
return output_status(parse_json()[5], a)
}
@ -171,13 +186,20 @@ func Buildkite(buildkite_access string) string {
return output_status(parse_json()[6], b)
}
func ButterCMS(branch_key string) string {
url := "https://api.buttercms.com/v2/posts/?auth_token=" + branch_key
func ButterCMS(buttercms_token string) string {
url := "https://api.buttercms.com/v2/posts/?auth_token=" + buttercms_token
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[7], b)
}
func Calendarific(calendarific_api string) string {
url := "https://calendarific.com/api/v2/holidays?api_key=" + calendarific_api
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[7], b) // belom fix
}
func Calendly(calendly_key string) string {
url := "https://calendly.com/api/v1/users/me"
_, b := normal_curl(url, 1, "X-TOKEN", calendly_key)
@ -192,6 +214,29 @@ func Circleci(circleci_token string) string {
return output_status(parse_json()[9], b)
}
func Coinmarketcap(coinmarketcap_api string) string {
url := "https://pro-api.coinmarketcap.com/v1/global-metrics/quotes/historical?CMC_PRO_API_KEY=" + coinmarketcap_api
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[9], b) // (INI 10)
}
func Covalent(covalent_api string) string {
url := "https://api.covalenthq.com/v1/chains/?key=" + covalent_api
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[9], b) // (INI 11)
}
func Cryptocompare(cryptocompare_api string) string {
error_msg := "{\"Response\":\"Error\",\"Message\":\"You need a valid auth key or api key to access this endpoint\",\"HasWarning\":false,\"Type\":1,\"RateLimit\":{},\"Data\":{}}"
url := "https://min-api.cryptocompare.com/data/blockchain/latest?fsym=BTC&api_key=" + cryptocompare_api
a, _ := normal_curl(url, 0, "", "")
return output_error_msg(parse_json()[15], a, error_msg) //ini 12
}
func Datadog(dog_api string, dog_application string) string {
url := "https://api.datadoghq.com/api/v1/dashboard?api_key=" + dog_api + "&application_key=" + dog_application
_, b := normal_curl(url, 0, "", "")
@ -199,6 +244,13 @@ func Datadog(dog_api string, dog_application string) string {
return output_status(parse_json()[10], b)
}
func Ean_search(ean_token string) string {
url := "https://api.ean-search.org/api?token=" + ean_token + "&op=product-search&format=json&name=Bananaboat"
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[11], b) //(INI 14)
}
func Facebook(facebook_token string) string {
url := "https://developers.facebook.com/tools/debug/accesstoken/?access_token=" + facebook_token + "&version=v3.2"
_, b := normal_curl(url, 0, "", "")
@ -206,9 +258,16 @@ func Facebook(facebook_token string) string {
return output_status(parse_json()[11], b)
}
func Fungenerator(fun_api string) string {
url := "https://api.fungenerators.com/qrcode/text?text=cok&format=png"
_, b := normal_curl(url, 0, "X-Fungenerators-Api-Secret", fun_api)
return output_status(parse_json()[11], b) //(INI 16)
}
func Github(github_username string, github_token string) string {
url := "https://api.github.com/user"
a := basic_auth(url, github_username, github_token)
a := basic_auth(url, github_username, github_token, 0, "", "")
return output_status(parse_json()[12], a)
}
@ -220,6 +279,13 @@ func Heroku(heroku_key string) string {
return output_status(parse_json()[13], b)
}
func Holiday(holiday_api string) string {
url := "https://holidayapi.com/v1/holidays?pretty&key=" + holiday_api + "&country=ID&year=2020"
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[14], b) //belom fix
}
func Hubspot(hubspot_key string) string {
url := "https://api.hubapi.com/owners/v2/owners?hapikey=" + hubspot_key
_, b := normal_curl(url, 0, "", "")
@ -250,11 +316,18 @@ func Jumpcloud(jumpcloud_key string) string {
return output_status(parse_json()[17], b)
}
func Localytics(localytics_api string, localytics_secret string) string {
url := "https://api.localytics.com/v1/apps/"
a := basic_auth(url, localytics_api, localytics_secret, 1, "Accept", "application/vnd.localytics.v1+hal+json")
return output_status(parse_json()[18], a)
}
func Lokalise(lokalise_key string) string {
url := "https://api.lokalise.com/api2/projects/"
_, b := normal_curl(url, 1, "X-Api-Token", lokalise_key)
return output_status(parse_json()[18], b)
return output_status(parse_json()[19], b)
}
func Loqate(loqate_key string) string {
@ -262,123 +335,123 @@ func Loqate(loqate_key string) string {
url := "http://api.addressy.com/Capture/Interactive/Find/v1.00/json3.ws?Key=" + loqate_key + "&Countries=US,CA&Language=en&Limit=5&Text=BHAR"
a, _ := normal_curl(url, 0, "", "")
return output_error_msg(parse_json()[19], a, error_msg)
return output_error_msg(parse_json()[20], a, error_msg)
}
func Mailgun(mailgun_key string) string {
url := "https://api.mailgun.net/v3/domains"
a := basic_auth(url, "api", mailgun_key)
a := basic_auth(url, "api", mailgun_key, 0, "", "")
return output_status(parse_json()[20], a)
return output_status(parse_json()[21], a)
}
func Mapbox(mapbox_key string) string {
url := "https://api.mapbox.com/geocoding/v5/mapbox.places/Los%20Angeles.json?access_token=" + mapbox_key
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[21], b)
return output_status(parse_json()[22], b)
}
func Pagerduty(pagerduty_key string) string {
url := "https://api.pagerduty.com/schedules"
_, b := normal_curl(url, 97, "Authorization", "Token token="+pagerduty_key)
return output_status(parse_json()[22], b)
return output_status(parse_json()[23], b)
}
func Pendo(pendo_key string) string {
url := "https://app.pendo.io/api/v1/feature"
_, b := normal_curl(url, 1, "x-pendo-integration-key", pendo_key)
return output_status(parse_json()[23], b)
return output_status(parse_json()[24], b)
}
func Pivotaltracker(pivotaltracker_token string) string {
url := "https://www.pivotaltracker.com/services/v5/stories/555"
_, b := normal_curl(url, 1, "X-TrackerToken", pivotaltracker_token)
return output_status(parse_json()[24], b)
return output_status(parse_json()[25], b)
}
func Razorpay(razor_key string, razor_secret string) string {
url := "https://api.razorpay.com/v1/payments"
a := basic_auth(url, razor_key, razor_secret)
a := basic_auth(url, razor_key, razor_secret, 0, "", "")
return output_status(parse_json()[25], a)
return output_status(parse_json()[26], a)
}
func Sauce_labs(sauce_username string, sauce_key string) string {
url := "https://saucelabs.com/rest/v1/users/" + sauce_username
a := basic_auth(url, sauce_username, sauce_key)
a := basic_auth(url, sauce_username, sauce_key, 0, "", "")
return output_status(parse_json()[26], a)
return output_status(parse_json()[27], a)
}
func Sendgrid(sendgrid_token string) string {
url := "https://api.sendgrid.com/v3/scopes"
_, b := normal_curl(url, 1, "Authorization", "Bearer "+sendgrid_token)
return output_status(parse_json()[27], b)
return output_status(parse_json()[28], b)
}
func Spotify(spotify_token string) string {
url := "https://api.spotify.com/v1/me"
_, b := normal_curl(url, 1, "Authorization", "Bearer "+spotify_token)
return output_status(parse_json()[28], b)
return output_status(parse_json()[29], b)
}
func Stripe(stripe_token string) string {
url := "https://api.stripe.com/v1/charges"
a := basic_auth(url, stripe_token, "")
a := basic_auth(url, stripe_token, "", 0, "", "")
return output_status(parse_json()[29], a)
return output_status(parse_json()[30], a)
}
func Travis(travis_token string) string {
url := "https://api.travis-ci.org/repos"
_, b := normal_curl(url, 99, "Authorization", "Bearer "+travis_token)
return output_status(parse_json()[30], b)
return output_status(parse_json()[31], b)
}
func Twilio(twilio_sid string, twilio_token string) string {
url := "https://api.twilio.com/2010-04-01/Accounts.json"
a := basic_auth(url, twilio_sid, twilio_token)
a := basic_auth(url, twilio_sid, twilio_token, 0, "", "")
return output_status(parse_json()[31], a)
return output_status(parse_json()[32], a)
}
func Appcenter(appcenter_token string) string {
url := "https://api.appcenter.ms/v0.1/apps"
_, b := normal_curl(url, 1, "X-Api-Token", appcenter_token)
return output_status(parse_json()[32], b)
return output_status(parse_json()[33], b)
}
func Youtube(youtube_key string) string {
url := "https://www.googleapis.com/youtube/v3/activities?part=contentDetails&maxResults=25&channelId=UC-lHJZR3Gqxm24_Vd_AJ5Yw&key=" + youtube_key
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[33], b)
return output_status(parse_json()[34], b)
}
func Wakatime(wakatime_key string) string {
url := "https://wakatime.com/api/v1/users/current/projects/?api_key=" + wakatime_key
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[34], b)
return output_status(parse_json()[35], b)
}
func WPEngine(wp_account string, wp_key string) string {
url := "https://api.wpengine.com/1.2/?method=site&account_name=" + wp_account + "&wpe_apikey=" + wp_key
_, b := normal_curl(url, 0, "", "")
return output_status(parse_json()[35], b)
return output_status(parse_json()[36], b)
}
func Zendesk(zendesk_subdomain string, zendesk_token string) string {
url := "https://" + zendesk_subdomain + ".zendesk.com/api/v2/tickets.json"
_, b := normal_curl(url, 1, "Authorization", "Bearer "+zendesk_token)
return output_status(parse_json()[36], b)
return output_status(parse_json()[37], b)
}

View File

@ -1,39 +0,0 @@
[
"Amplitude API Key",
"Asana Access token",
"Bing Maps API Key",
"Bit.ly Access token",
"Branch.IO Key and Secret",
"BrowserStack Access Key",
"Buildkite Access token",
"ButterCMS API Key",
"Calendly API Key",
"CircleCI Access Token",
"DataDog API key",
"Facebook Access Token",
"Github Token",
"Heroku API Key",
"Hubspot API Key",
"Ipstack API Key",
"Iterable API Key",
"Jumpcloud API key",
"Lokalise API Key",
"Loqate API key",
"MailGun API Key",
"Mapbox API Key",
"Pagerduty API token",
"Pendo Integration Key",
"PivotalTracker API Token",
"Razorpay API key and secret key",
"SauceLabs Username and access Key",
"SendGrid API Token",
"Spotify Access Token",
"Stripe Live Token",
"Travis CI API token",
"Twilio Account_sid and Auth token",
"Visual Studio App Center API Token",
"Youtube API Key",
"WakaTime API Key",
"WPEngine API Key",
"Zendesk Access token"
]

View File

@ -1,39 +0,0 @@
[
"Amplitude API Key",
"Asana Access token",
"Bing Maps API Key",
"Bit.ly Access token",
"Branch.IO Key and Secret",
"BrowserStack Access Key",
"Buildkite Access token",
"ButterCMS API Key",
"Calendly API Key",
"CircleCI Access Token",
"DataDog API key",
"Facebook Access Token",
"Github Token",
"Heroku API Key",
"Hubspot API Key",
"Ipstack API Key",
"Iterable API Key",
"Jumpcloud API key",
"Lokalise API Key",
"Loqate API key",
"MailGun API Key",
"Mapbox API Key",
"Pagerduty API token",
"Pendo Integration Key",
"PivotalTracker API Token",
"Razorpay API key and secret key",
"SauceLabs Username and access Key",
"SendGrid API Token",
"Spotify Access Token",
"Stripe Live Token",
"Travis CI API token",
"Twilio Account_sid and Auth token",
"Visual Studio App Center API Token",
"Youtube API Key",
"WakaTime API Key",
"WPEngine API Key",
"Zendesk Access token"
]

121
main.go
View File

@ -21,10 +21,6 @@ var (
input_key2 = ""
)
type JsonType struct {
Array []string
}
func show_banner() {
fmt.Printf(cyan + `
__ __ ________ __
@ -35,6 +31,7 @@ func show_banner() {
/____/
Author = Muhammad Daffa
Version = 1.0.0
` + white)
}
@ -50,7 +47,7 @@ func ask_secondkey(choose_arr string, question1 string, question2 string) (strin
fmt.Printf(blue+"\nYou choose %s checker", choose_arr)
fmt.Printf("\nInput your %s:%s\n", question1, white)
fmt.Scan(&input_key)
fmt.Printf("\nInput your %s:%s\n", question2, white)
fmt.Printf("%s\nInput your %s:%s\n", blue, question2, white)
fmt.Scan(&input_key2)
return input_key, input_key2
}
@ -62,20 +59,29 @@ func main() {
"Asana Access token",
"Bing Maps API Key",
"Bit.ly Access token",
"Block.io API Key",
"Branch.IO Key and Secret",
"BrowserStack Access Key",
"Buildkite Access token",
"ButterCMS API Key",
"Calendarific API Key",
"Calendly API Key",
"CircleCI Access Token",
"Coinmarketcap API Key",
"Covalent API Key",
"Cryptocompare API Key",
"DataDog API key",
"EAN-Search Access Token",
"Facebook Access Token",
"Fungenerator API Key",
"Github Token",
"Heroku API Key",
"Holiday API Key",
"Hubspot API Key",
"Ipstack API Key",
"Iterable API Key",
"Jumpcloud API key",
"Localytics API and Secret key",
"Lokalise API Key",
"Loqate API key",
"MailGun API Key",
@ -91,9 +97,9 @@ func main() {
"Travis CI API token",
"Twilio Account_sid and Auth token",
"Visual Studio App Center API Token",
"Youtube API Key",
"WakaTime API Key",
"WPEngine API Key",
"WakaTime API Key",
"Youtube API Key",
"Zendesk Access token"}
show_banner()
@ -102,7 +108,7 @@ func main() {
fmt.Printf(green+"%d. %s%s\n", i+1, checkers, white)
}
fmt.Printf("%s\nChoose checkers: ", green)
fmt.Printf("%s\nChoose checkers: %s", green, white)
fmt.Scan(&choose)
if choose == 1 {
@ -115,79 +121,98 @@ func main() {
} else if choose == 4 {
fmt.Println(b.Bitly(ask_singlekey(listname[3])))
} else if choose == 5 {
q1, q2 := ask_secondkey(listname[4], "Branch Key", "Branch Secret")
fmt.Println(b.Branch(q1, q2))
fmt.Println(b.Block(ask_singlekey(listname[4])))
} else if choose == 6 {
q1, q2 := ask_secondkey(listname[5], "BrowserStack Username", "BrowserStack Key")
fmt.Println(b.Browserstack(q1, q2))
q1, q2 := ask_secondkey(listname[5], "Branch Key", "Branch Secret")
fmt.Println(b.Branch(q1, q2))
} else if choose == 7 {
fmt.Println(b.Buildkite(ask_singlekey(listname[6])))
q1, q2 := ask_secondkey(listname[6], "BrowserStack Username", "BrowserStack Key")
fmt.Println(b.Browserstack(q1, q2))
} else if choose == 8 {
fmt.Println(b.Buildkite(ask_singlekey(listname[7])))
} else if choose == 9 {
fmt.Println(b.Calendly(ask_singlekey(listname[8])))
fmt.Println(b.ButterCMS(ask_singlekey(listname[8])))
} else if choose == 10 {
fmt.Println(b.Circleci(ask_singlekey(listname[9])))
fmt.Println(b.Calendarific(ask_singlekey(listname[9])))
} else if choose == 11 {
q1, q2 := ask_secondkey(listname[10], "Datadog API key", "Datadog Application key")
fmt.Println(b.Datadog(q1, q2))
fmt.Println(b.Calendly(ask_singlekey(listname[10])))
} else if choose == 12 {
fmt.Println(b.Facebook(ask_singlekey(listname[11])))
fmt.Println(b.Circleci(ask_singlekey(listname[11])))
} else if choose == 13 {
q1, q2 := ask_secondkey(listname[12], "Github Username", "Github Access Token")
fmt.Println(b.Github(q1, q2))
fmt.Println(b.Coinmarketcap(ask_singlekey(listname[12])))
} else if choose == 14 {
fmt.Println(b.Heroku(ask_singlekey(listname[13])))
fmt.Println(b.Covalent(ask_singlekey(listname[13])))
} else if choose == 15 {
fmt.Println(b.Hubspot(ask_singlekey(listname[14])))
fmt.Println(b.Cryptocompare(ask_singlekey(listname[14])))
} else if choose == 16 {
fmt.Println(b.Ipstack(ask_singlekey(listname[15])))
q1, q2 := ask_secondkey(listname[15], "Datadog API key", "Datadog Application key")
fmt.Println(b.Datadog(q1, q2))
} else if choose == 17 {
fmt.Println(b.Iterable(ask_singlekey(listname[16])))
fmt.Println(b.Ean_search(ask_singlekey(listname[16])))
} else if choose == 18 {
fmt.Println(b.Jumpcloud(ask_singlekey(listname[17])))
fmt.Println(b.Facebook(ask_singlekey(listname[17])))
} else if choose == 19 {
fmt.Println(b.Lokalise(ask_singlekey(listname[18])))
fmt.Println(b.Fungenerator(ask_singlekey(listname[18])))
} else if choose == 20 {
fmt.Println(b.Loqate(ask_singlekey(listname[19])))
q1, q2 := ask_secondkey(listname[19], "Github Username", "Github Access Token")
fmt.Println(b.Github(q1, q2))
} else if choose == 21 {
fmt.Println(b.Mailgun(ask_singlekey(listname[20])))
fmt.Println(b.Heroku(ask_singlekey(listname[20])))
} else if choose == 22 {
fmt.Println(b.Mapbox(ask_singlekey(listname[21])))
fmt.Println(b.Holiday(ask_singlekey(listname[21])))
} else if choose == 23 {
fmt.Println(b.Pagerduty(ask_singlekey(listname[22])))
fmt.Println(b.Hubspot(ask_singlekey(listname[22])))
} else if choose == 24 {
fmt.Println(b.Pendo(ask_singlekey(listname[23])))
fmt.Println(b.Ipstack(ask_singlekey(listname[23])))
} else if choose == 25 {
fmt.Println(b.Pivotaltracker(ask_singlekey(listname[24])))
fmt.Println(b.Iterable(ask_singlekey(listname[24])))
} else if choose == 26 {
q1, q2 := ask_secondkey(listname[25], "Razor Key", "Github Razor Secret")
fmt.Println(b.Razorpay(q1, q2))
fmt.Println(b.Jumpcloud(ask_singlekey(listname[25])))
} else if choose == 27 {
q1, q2 := ask_secondkey(listname[26], "SauceLabs Username", "Access Token")
fmt.Println(b.Sauce_labs(q1, q2))
q1, q2 := ask_secondkey(listname[26], "Localytics API Key", "Localytics Secret Key")
fmt.Println(b.Localytics(q1, q2))
} else if choose == 28 {
fmt.Println(b.Sendgrid(ask_singlekey(listname[27])))
fmt.Println(b.Lokalise(ask_singlekey(listname[27])))
} else if choose == 29 {
fmt.Println(b.Spotify(ask_singlekey(listname[28])))
fmt.Println(b.Loqate(ask_singlekey(listname[28])))
} else if choose == 30 {
fmt.Println(b.Stripe(ask_singlekey(listname[29])))
fmt.Println(b.Mailgun(ask_singlekey(listname[29])))
} else if choose == 31 {
fmt.Println(b.Travis(ask_singlekey(listname[30])))
fmt.Println(b.Mapbox(ask_singlekey(listname[30])))
} else if choose == 32 {
q1, q2 := ask_secondkey(listname[31], "Twilio SID", "Twilio Token")
fmt.Println(b.Twilio(q1, q2))
fmt.Println(b.Pagerduty(ask_singlekey(listname[31])))
} else if choose == 33 {
fmt.Println(b.Appcenter(ask_singlekey(listname[32])))
fmt.Println(b.Pendo(ask_singlekey(listname[32])))
} else if choose == 34 {
fmt.Println(b.Youtube(ask_singlekey(listname[33])))
fmt.Println(b.Pivotaltracker(ask_singlekey(listname[33])))
} else if choose == 35 {
fmt.Println(b.Wakatime(ask_singlekey(listname[34])))
q1, q2 := ask_secondkey(listname[34], "Razor Key", "Github Razor Secret")
fmt.Println(b.Razorpay(q1, q2))
} else if choose == 36 {
q1, q2 := ask_secondkey(listname[35], "WPEngine Account", "WPEngine Key")
fmt.Println(b.WPEngine(q1, q2))
q1, q2 := ask_secondkey(listname[35], "SauceLabs Username", "Access Token")
fmt.Println(b.Sauce_labs(q1, q2))
} else if choose == 37 {
q1, q2 := ask_secondkey(listname[36], "Zendesk Subdomain", "Zendesk Token")
fmt.Println(b.Sendgrid(ask_singlekey(listname[36])))
} else if choose == 38 {
fmt.Println(b.Spotify(ask_singlekey(listname[37])))
} else if choose == 39 {
fmt.Println(b.Stripe(ask_singlekey(listname[38])))
} else if choose == 40 {
fmt.Println(b.Travis(ask_singlekey(listname[39])))
} else if choose == 41 {
q1, q2 := ask_secondkey(listname[40], "Twilio SID", "Twilio Token")
fmt.Println(b.Twilio(q1, q2))
} else if choose == 42 {
fmt.Println(b.Appcenter(ask_singlekey(listname[41])))
} else if choose == 43 {
fmt.Println(b.Youtube(ask_singlekey(listname[42])))
} else if choose == 44 {
fmt.Println(b.Wakatime(ask_singlekey(listname[35])))
} else if choose == 45 {
q1, q2 := ask_secondkey(listname[36], "WPEngine Account", "WPEngine Key")
fmt.Println(b.WPEngine(q1, q2))
} else if choose == 46 {
q1, q2 := ask_secondkey(listname[37], "Zendesk Subdomain", "Zendesk Token")
fmt.Println(b.Zendesk(q1, q2))
}
}