rbowman <bow...@montana.com> writes:

> On Wed, 21 Aug 2024 22:15:37 +0100, Daniel wrote:
>
>> Lesser used protocols not known by many in the mainstream. Such as:
>> 
>> gopher, gemini, finger, spartan, titan, etc.
>> 
>> An example of use, here's a weather service tied to a finger. Put your
>> city name as the user. This isn't mine, but it is inspiring. Example:
>> 
>> finger mi...@graph.no
>> 
>> For all options, go to the help finger:
>> 
>> finger h...@graph.no
>
> Thanks. Interesting. I was surprised a Norwegian site would have data for 
> a small city in the US. I have a Python script that accesses the NOAA 
> (National Oceanic and Atmospheric Administration) API and the data in the 
> Meteogram appears to match well. fwiw, all that does is
>
>    observation_url = f"https://api.weather.gov/stations/K{grid_id}/
> observations/latest"
>     response = requests.get(observation_url).json()

I think he uses a weather service API to call the data, and I'm sure
they all share data across other national weather services. That's just
a guess. 

>
> using the Python 'requests' package and then parsing out the JSON.  
> Implementing finger probably would be a straight socket connection. I 
> don't know how useful this is: 
>
> https://pypi.org/project/pyfinger/
>
> I assume gopher is fron the archie, veronica, and jughead days. It appears 
> straightforward.

I use gopher all the time, and the lynx browser supports it directly.

If you have lynx, you can visit this gopher interface to Wikipedia:

gopher://gopherpedia.com

If you like Reddit, there's this

gopher://gopherddit.com

Of course it's read only, but if you're wishing to leisurely read posts
on reddit in a super fast gopher page, you can.

Right now, I'm focused on providing wiktionary.org services on gopher as
well as finger.

These are longterm projects since I can only learn python and code on
spare time, which I have little.

/snip

I will be posting my coding questions in here.

Thanks guys.

Daniel
-- 
https://mail.python.org/mailman/listinfo/python-list

Reply via email to