Update module path to git.denco.store/fakz9/ozon-api-client
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
A Ozon Seller API client written in Golang
|
||||
|
||||
[](https://coveralls.io/github/diPhantxm/ozon-api-client)
|
||||

|
||||

|
||||
|
||||
[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() {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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 (
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
@@ -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 {
|
||||
|
||||
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user