Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/houseme/icp-filing

Domain name information filing
https://github.com/houseme/icp-filing

beian domain domain-filing icp icp-filing query-filing

Last synced: 2 months ago
JSON representation

Domain name information filing

Awesome Lists containing this project

README

        

# ICP-filing

[![Go Reference](https://pkg.go.dev/badge/github.com/houseme/icp-filing.svg)](https://pkg.go.dev/github.com/houseme/icp-filing)
[![icp-filing](https://github.com/houseme/icp-filing/actions/workflows/go.yml/badge.svg)](https://github.com/houseme/icp-filing/actions/workflows/go.yml)
![GitHub](https://img.shields.io/github/license/houseme/icp-filing?style=flat-square)
![GitHub go.mod Go version (branch)](https://img.shields.io/github/go-mod/go-version/houseme/icp-filing/main?style=flat-square)

Domain name information filing

## Installation

```bash
go get -u -v github.com/houseme/icp-filing@main
```

## Usage

```go
package main

import (
"context"
"fmt"

filing "github.com/houseme/icp-filing"
"github.com/houseme/icp-filing/utility/logger"
"github.com/houseme/icp-filing/utility/request"
)

func main() {
ctx := context.Background()
f := filing.New(ctx, filing.WithLogger(logger.NewDefaultLogger()), filing.WithRequest(request.NewDefaultRequest()))
resp, err := f.DomainFilling(ctx, &filing.QueryRequest{
UnitName: "baidu.com",
})
if err != nil {
panic(err)
}

fmt.Println("resp:", resp)
}

```

## Note:

The default logging dependency in the current project requires Go version 1.21.0 or above.

## License

FeiE is primarily distributed under the terms of both the [Apache License (Version 2.0)](LICENSE)