Skip to content
This repository has been archived by the owner on Dec 12, 2019. It is now read-only.
/ go-gcis Public archive

[WIP] 經濟部商工行政資料 Go SDK

License

Notifications You must be signed in to change notification settings

minchao/go-gcis

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

25 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

go-gcis

Build Status

go-gcis is a Go client library for accessing the GCIS API.

Getting started

Use go get to download the library into your $GOPATH.

go get -u https://github.com/minchao/go-gcis

Usage

This example shows how to make a request to the GCIS API.

package main

import (
	"context"
	"fmt"

	"github.com/minchao/go-gcis/gcis"
)

func main() {
	client := gcis.NewClient()

	info, _, err := client.Company.GetBasicInformation(context.Background(),
		&gcis.CompanyBasicInformationInput{BusinessAccountingNO: "20828393"})
	if err != nil {
		panic("failed to get company basic information, " + err.Error())
	}

	fmt.Println("resp", info)
}

License

This library is distributed under the MIT license found in the LICENSE file.

About

[WIP] 經濟部商工行政資料 Go SDK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published