Update module path to git.denco.store/fakz9/ozon-api-client
Some checks are pending
tests / unit (push) Waiting to run
tests / coverage (push) Waiting to run

This commit is contained in:
2025-05-26 03:24:11 +03:00
parent dcff4ba1e3
commit c9ca89e364
49 changed files with 52 additions and 52 deletions

View File

@@ -2,7 +2,7 @@
A Ozon Seller API client written in Golang A Ozon Seller API client written in Golang
[![Coverage Status](https://coveralls.io/repos/github/diPhantxm/ozon-api-client/badge.svg)](https://coveralls.io/github/diPhantxm/ozon-api-client) [![Coverage Status](https://coveralls.io/repos/github/diPhantxm/ozon-api-client/badge.svg)](https://coveralls.io/github/diPhantxm/ozon-api-client)
![example workflow](https://github.com/diPhantxm/ozon-api-client/actions/workflows/tests.yml/badge.svg) ![example workflow](https://git.denco.store/fakz9/ozon-api-client/actions/workflows/tests.yml/badge.svg)
[Ozon](https://ozon.ru) is a marketplace for small and medium enterprises to launch and grow their businesses in Russia. [Ozon](https://ozon.ru) is a marketplace for small and medium enterprises to launch and grow their businesses in Russia.
@@ -14,7 +14,7 @@ Get Client-Id and Api-Key in your seller profile [here](https://seller.ozon.ru/a
Just add dependency to your project and you're ready to go. Just add dependency to your project and you're ready to go.
```bash ```bash
go get github.com/diphantxm/ozon-api-client go get git.denco.store/fakz9/ozon-api-client
``` ```
A simple example on how to use this library: A simple example on how to use this library:
```Golang ```Golang
@@ -26,7 +26,7 @@ import (
"log" "log"
"net/http" "net/http"
"github.com/diphantxm/ozon-api-client/ozon" "git.denco.store/fakz9/ozon-api-client/ozon"
) )
func main() { func main() {
@@ -65,7 +65,7 @@ package main
import ( import (
"log" "log"
"github.com/diphantxm/ozon-api-client/ozon/notifications" "git.denco.store/fakz9/ozon-api-client/ozon/notifications"
) )
func main() { func main() {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Analytics struct { type Analytics struct {

View File

@@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetAnalyticsData(t *testing.T) { func TestGetAnalyticsData(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Barcodes struct { type Barcodes struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGenerateBarcodes(t *testing.T) { func TestGenerateBarcodes(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Brands struct { type Brands struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListCertifiedBrands(t *testing.T) { func TestListCertifiedBrands(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Cancellations struct { type Cancellations struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetCancellationInfo(t *testing.T) { func TestGetCancellationInfo(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Categories struct { type Categories struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetProductTree(t *testing.T) { func TestGetProductTree(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Certificates struct { type Certificates struct {

View File

@@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListOfAccordanceTypes(t *testing.T) { func TestListOfAccordanceTypes(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Chats struct { type Chats struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListChats(t *testing.T) { func TestListChats(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Clusters struct { type Clusters struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListClusters(t *testing.T) { func TestListClusters(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type FBO struct { type FBO struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetFBOShipmentsList(t *testing.T) { func TestGetFBOShipmentsList(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type FBS struct { type FBS struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListUnprocessedShipments(t *testing.T) { func TestListUnprocessedShipments(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Finance struct { type Finance struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestReportOnSoldProducts(t *testing.T) { func TestReportOnSoldProducts(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Invoices struct { type Invoices struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestCreateUpdateProformaLink(t *testing.T) { func TestCreateUpdateProformaLink(t *testing.T) {

View File

@@ -11,7 +11,7 @@ import (
"testing" "testing"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type testData struct { type testData struct {

View File

@@ -3,7 +3,7 @@ package ozon
import ( import (
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
const ( const (

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Passes struct { type Passes struct {

View File

@@ -6,7 +6,7 @@ import (
"testing" "testing"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListPasses(t *testing.T) { func TestListPasses(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Polygons struct { type Polygons struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestCreateDeliveryPolygon(t *testing.T) { func TestCreateDeliveryPolygon(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Products struct { type Products struct {

View File

@@ -7,7 +7,7 @@ import (
"testing" "testing"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetStocksInfo(t *testing.T) { func TestGetStocksInfo(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Promotions struct { type Promotions struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetAvailablePromotions(t *testing.T) { func TestGetAvailablePromotions(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Quants struct { type Quants struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListQuants(t *testing.T) { func TestListQuants(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Rating struct { type Rating struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetCurrentRatingInfo(t *testing.T) { func TestGetCurrentRatingInfo(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Reports struct { type Reports struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetList(t *testing.T) { func TestGetList(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Returns struct { type Returns struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetRFBSReturns(t *testing.T) { func TestGetRFBSReturns(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Reviews struct { type Reviews struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestLeaveComment(t *testing.T) { func TestLeaveComment(t *testing.T) {

View File

@@ -4,7 +4,7 @@ import (
"context" "context"
"net/http" "net/http"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Strategies struct { type Strategies struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestListCompetitors(t *testing.T) { func TestListCompetitors(t *testing.T) {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"time" "time"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
type Warehouses struct { type Warehouses struct {

View File

@@ -5,7 +5,7 @@ import (
"net/http" "net/http"
"testing" "testing"
core "github.com/diphantxm/ozon-api-client" core "git.denco.store/fakz9/ozon-api-client"
) )
func TestGetListOfWarehouses(t *testing.T) { func TestGetListOfWarehouses(t *testing.T) {