Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 1.74 KB

README.md

File metadata and controls

51 lines (44 loc) · 1.74 KB

fastbill-go-sdk

Checks CodeQL codecov Go Report Card Go Reference

golang sdk for the api of https://www.fastbill.com/

Requirements

  • Go 1.19 or higher

Usage

Add the sdk package import statement

import "github.com/malsch-solutions/fastbill-go-sdk"

Initialize your fastbill service

fastbillService := service.NewService(os.Getenv("FASTBILL_EMAIL"), os.Getenv("FASTBILL_API_KEY"))

Create the desired client for example for customers

customerClient := customer.NewCustomerClient(fastbillService)

Call the method of your choice

customers, err := customerClient.Get(&parameter.Parameter{
    Limit:  10,
    Offset: 0,
}, nil)

API Coverage

  • Customers
  • Contacts
  • Estimates
  • Invoices
  • Items
  • Recurring invoices
  • Revenues
  • Expenses
  • Products (article)
  • Projects
  • Work times (time)
  • Documents
  • Templates
  • Webhooks