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
[![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.
@@ -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.
```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:
```Golang
@@ -26,7 +26,7 @@ import (
"log"
"net/http"
"github.com/diphantxm/ozon-api-client/ozon"
"git.denco.store/fakz9/ozon-api-client/ozon"
)
func main() {
@@ -65,7 +65,7 @@ package main
import (
"log"
"github.com/diphantxm/ozon-api-client/ozon/notifications"
"git.denco.store/fakz9/ozon-api-client/ozon/notifications"
)
func main() {

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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