Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/houseme/icp-filing
- Owner: houseme
- License: apache-2.0
- Created: 2023-03-29T00:53:35.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-01-19T08:09:13.000Z (11 months ago)
- Last Synced: 2024-06-21T00:16:35.600Z (6 months ago)
- Topics: beian, domain, domain-filing, icp, icp-filing, query-filing
- Language: Go
- Homepage: https://houseme.github.io/icp-filing/
- Size: 156 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Funding: .github/FUNDING.yml
- License: LICENSE
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 mainimport (
"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)