Skip to content

Navigation Menu

Sign in
Sign up

Repository files navigation

igtwitter

GDS service to publish seismic information using a twitter account. This code was previously a plugin of EQEVENTS, but that code was modified to be used with GDS.

The files send_igtwitter.cfg and twitter_account.json must be configured before running.

GDS or the operator will decide wheter or not the tweet must be posted. There will be one tweet for the automatic (preliminar) event and another for the manual (revisado) event. If the event is older than hour_limit, there will be no publication.

View Documentation: igTwitter Documentation

Requirements

The project must use the same Python version used by SEISCOMP-PYTHON (2022.09: Python 3.8)

Install the following libraries as user modules

$ python3 -m pip install --user ig_gds_utilities 
$ python3 -m pip install --user tweepy 

This package is required to check sqlite database from Linux bash

# apt install sqlite3 

Create and configure the config_utilities.cfg file

$ SEISCOMP/share/gds/tools/config_utilities.cfg

Result

If the publication works as expected, this should be posted in the twitter account.

example tweet of an event

About

GDS service to publish seismic information using a twitter account

Topics

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages

AltStyle によって変換されたページ (->オリジナル) /