Skip to content

Latest commit

 

History

History
executable file
·
50 lines (34 loc) · 1.69 KB

File metadata and controls

executable file
·
50 lines (34 loc) · 1.69 KB

LogPusher: Log tracking for Python

Build Status

LogPusher is a system that allows you to receive notifications through your mobile on a single application. Apart from push notifications, you can also receive information without a mobile client via SMS and Mail service. You can integrate with any software through the API. Thanks to rapid API integration, you do not spend extra time for information and mail service.

LogPusher is easy to use on the client side thanks to its simple interface. Just generate API key trough our control panel and you are ready to go.

Getting started

  1. Create a LogPusher account
  2. Create a new App and get API Token

Usage

from logpusher.src.log_pusher_client import LogPusher

client = LogPusher('hello@logpusher.com', '123456', 'MY_API_KEY')
log_date = datetime.datetime.now()		

response = client.push(
	"My awesome log message",
	"myawesomesite.com",
	"E-commerce",
	"Notice",
	log_date.strftime('%H:%S'),
	log_date.isoformat(),
	"1"
)

print response

Support

Contributing

  1. Fork it ( https://github.com/logpusher-python/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request

Contributors

  • ysfkc Yusuf Koç - creator, maintainer