Skip to content

reddec/integration-lib

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Integration lib

It aims to be a modular library for integration. There is no strict limitation what to include or not.

Currently, includes (see docs):

  • cloud
    • google sheets
  • communication
    • email
    • telegram
  • finance
    • exchange rates (fiat and crypto)
    • tinkoff investing

Style guide

Plain functions

  • Should have docs
  • Docs should contain API provider(s) if applicable
  • Should have context and context-less (optional) version if uses external services
  • Errors should be wrapped and tagged

Structured

In addition to plain function

  • Configuration structure should not contain state
  • Should have default constructor that fills parameters from environment
  • Environment variables should have prefix, related to the provider (package)
  • Configuration structure could be used as container for functions if functions are not modifying state
  • It's ok to panic in default constructor

About

A modular library for integration cases

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages