egghelp.org community Forum Index
[ egghelp.org home | forum home ]
egghelp.org community
Discussion of eggdrop bots, shell accounts and tcl scripts.
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Weather Script Request

 
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests
View previous topic :: View next topic  
Author Message
play4free2
Voice


Joined: 23 Nov 2013
Posts: 33

PostPosted: Mon Nov 15, 2021 11:34 pm    Post subject: Weather Script Request Reply with quote

This is more of a question then a request. I was wondering why no one I have ever seen has used links like this: https://api.scorpstuff.com/weather.php?units=metric&city=London,UK or this: https://api.scorpstuff.com/weather.php?units=imperial&city=London,UK to write a weather bot script. I don't write scripts that use JASON or HTML, but it looks like this would be easier to work from. Also you don't need an API key and I am sure some bigger networks even pay for the use of their API's. It has forecast also: https://api.scorpstuff.com/forecast.php?units=metric&city=London,UK and https://api.scorpstuff.com/forecast.php?units=imperial&city=London,UK

Hope this the correct place for this,
Thanks,
play4free2
_________________

420-HIGHTIMES IRC Network
Back to top
View user's profile Send private message Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Tue Nov 16, 2021 6:09 am    Post subject: Reply with quote

Three reasons (for me):
1. this service is totally unknow from me
2. documentation is really lite
3. it returns unique string, so it can't be easily manipulated or modified to embed informations or (just an example) translate it

api returning json are really better
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
play4free2
Voice


Joined: 23 Nov 2013
Posts: 33

PostPosted: Tue Nov 16, 2021 5:58 pm    Post subject: Reply with quote

CrazyCat wrote:
Three reasons (for me):
1. this service is totally unknow from me
2. documentation is really lite
3. it returns unique string, so it can't be easily manipulated or modified to embed informations or (just an example) translate it

api returning json are really better


This api pulls from scorpstuff.com and is used for Streamlabs OBS and Streamelements Bots on Twitch.tv
_________________

420-HIGHTIMES IRC Network
Back to top
View user's profile Send private message Visit poster's website
CrazyCat
Revered One


Joined: 13 Jan 2002
Posts: 1032
Location: France

PostPosted: Tue Nov 16, 2021 6:58 pm    Post subject: Reply with quote

play4free2 wrote:
This api pulls from scorpstuff.com and is used for Streamlabs OBS and Streamelements Bots on Twitch.tv


And ?

Take example of the weather function:
api wrote:
Weather for London, GB: Haze with a temperature of 1.7 C (35 F). Wind is blowing from the North at 3.6 kph (2.24 mph) and the humidity is 93%


I'm french, how the hell do you want I use this in a french speaking channel ? This api is totaly useless for me.
_________________
https://www.eggdrop.fr - French IRC network
Offer me a coffee - Do not ask me help in PM, we are a community.
Back to top
View user's profile Send private message Visit poster's website
play4free2
Voice


Joined: 23 Nov 2013
Posts: 33

PostPosted: Tue Nov 16, 2021 8:49 pm    Post subject: Reply with quote

Quote:
I'm french, how the hell do you want I use this in a french speaking channel ? This api is totaly useless for me.


I didn't say to make it in French, which I have not seen many scripts in French. But I was talking to the US coders that speak English US or UK. In fact the next time I am over on twitch.tv I will speak to one of the channel mods. and see which api they use. I know there is one in almost every language. Just not sure how to edit the URL or if they use different ones. Oh and BTW there is a Twitch addon in the newer versions of eegdrop 1.9.x and above.
_________________

420-HIGHTIMES IRC Network
Back to top
View user's profile Send private message Visit poster's website
Arnold_X-P
Master


Joined: 30 Oct 2006
Posts: 221
Location: DALnet - Trinidad - Beni - Bolivia

PostPosted: Wed Nov 17, 2021 4:07 pm    Post subject: Reply with quote

Play4free2 weather script http://forum.egghelp.org/viewtopic.php?t=20952&start=30
_________________
Very Happy thanks to that they help, that others learn Very Happy
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
ComputerTech
Master


Joined: 22 Feb 2020
Posts: 393

PostPosted: Fri Nov 26, 2021 12:29 pm    Post subject: Reply with quote

play4free2 wrote:
Quote:
I'm french, how the hell do you want I use this in a french speaking channel ? This api is totaly useless for me.


I didn't say to make it in French, which I have not seen many scripts in French. But I was talking to the US coders that speak English US or UK. In fact the next time I am over on twitch.tv I will speak to one of the channel mods. and see which api they use. I know there is one in almost every language. Just not sure how to edit the URL or if they use different ones. Oh and BTW there is a Twitch addon in the newer versions of eegdrop 1.9.x and above.


I'm not 100% sure what you mean by this but, are you saying that you are trying to modify the URL to modify the json language output or something else?
_________________
ComputerTech
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    egghelp.org community Forum Index -> Script Requests All times are GMT - 4 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Forum hosting provided by Reverse.net

Powered by phpBB © 2001, 2005 phpBB Group
subGreen style by ktauber