Versions in this module Expand all Collapse all v0 v0.3.1 Jul 23, 2026 Changes in this version type GonderiDurum + func (g *GonderiDurum) UnmarshalJSON(data []byte) error type GonderiOzet + func (g *GonderiOzet) UnmarshalJSON(data []byte) error type Hareket + func (h *Hareket) UnmarshalJSON(data []byte) error v0.3.0 Jul 9, 2026 Changes in this version + const OdeyecekTarafAlici + const OdeyecekTarafGonderici v0.2.0 Jul 9, 2026 Changes in this version type GonderiOlusturRequest + OdeyecekTaraf string v0.1.0 Jun 23, 2026 Changes in this version + const DefaultBaseURL + const RolCari + func Desi(en, boy, yukseklik float64) float64 + type APIError struct + Durum string + Mesaj string + Rota string + StatusCode int + func (e *APIError) Error() string + type Bildirim struct + Aciklama string + Baslik string + Durum int + ID int + Tarih string + type BildirimlerSonuc struct + Bildirimler []Bildirim + Toplam int + type CariBilgileriSonuc struct + Ad string + Adres string + KullaniciAdi string + KullaniciID int + Rol string + Telefon string + type CariRaporSonuc struct + AylikKarsilastirma json.RawMessage + DurumDagilim json.RawMessage + GunlukDagilim json.RawMessage + IlDagilim json.RawMessage + Ozet RaporOzet + TarihAraligi RaporTarihAraligi + type Client struct + func NewClient(apiKey string, opts ...Option) *Client + func (c *Client) BildirimOkunduYap(ctx context.Context, bildirimID int) error + func (c *Client) Bildirimler(ctx context.Context) (*BildirimlerSonuc, error) + func (c *Client) CariBilgileri(ctx context.Context) (*CariBilgileriSonuc, error) + func (c *Client) CariRapor(ctx context.Context, baslangic, bitis string) (*CariRaporSonuc, error) + func (c *Client) GonderiDetay(ctx context.Context, barkod string) (*GonderiDetaySonuc, error) + func (c *Client) GonderiIptal(ctx context.Context, barkod string) (*GonderiIptalSonuc, error) + func (c *Client) GonderiListesi(ctx context.Context, req GonderiListesiRequest) (*GonderiListesiSonuc, error) + func (c *Client) GonderiOlustur(ctx context.Context, req GonderiOlusturRequest) (*GonderiOlusturSonuc, error) + func (c *Client) GonderiTakip(ctx context.Context, barkod string) (*GonderiTakipSonuc, error) + func (c *Client) IlListesi(ctx context.Context) (*IlListesiSonuc, error) + func (c *Client) IlceListesi(ctx context.Context, ilID int) (*IlceListesiSonuc, error) + func (c *Client) Login(ctx context.Context, kullaniciAdi, sifre string) (*LoginResult, error) + func (c *Client) SetToken(token string) + func (c *Client) Token() string + type GonderiDetaySonuc struct + Alici Taraf + Barkod string + Durum GonderiDurum + Gonderici Taraf + ID int + IslemNo string + Kargo KargoBilgisi + Odeme OdemeBilgisi + Tarihler TarihBilgisi + Tur string + type GonderiDurum struct + DurumAciklama string + DurumAdi string + DurumID string + type GonderiIptalSonuc struct + Barkod string + Cop int + type GonderiListesiRequest struct + Arama string + BaslangicTarih string + BitisTarih string + DurumID string + Limit int + Sayfa int + type GonderiListesiSonuc struct + Gonderiler []GonderiOzet + Limit int + Sayfa int + Toplam int + ToplamSayfa int + type GonderiOlusturRequest struct + Agirlik float64 + AliciAdi string + AliciAdres string + AliciIl int + AliciIlce int + AliciTelefon string + Boy float64 + En float64 + KapidaOdemeTuru int + KapidaOdemeUcreti float64 + KargoIcerigi string + KoliAdet int + Satici string + SigortaBedeli float64 + SiparisNo string + SmsGonder int + TeslimatYeri string + Yukseklik float64 + type GonderiOlusturSonuc struct + Barkod string + type GonderiOzet struct + AliciAdi string + AliciIl string + AliciIlce string + AliciTelefon string + Barkod string + DurumAdi string + DurumID string + EklenmeTarih string + ID int + KapidaOdeme float64 + TeslimTarihi *string + ToplamAdet int + ToplamDesi float64 + ToplamFiyat float64 + type GonderiTakipSonuc struct + Gonderi TakipGonderi + Hareketler []Hareket + type Hareket struct + Aciklama string + DurumAdi string + DurumID string + IslemYeri string + Tarih string + type Il struct + ID int + IlAd string + type IlListesiSonuc struct + Iller []Il + Toplam int + type Ilce struct + ID int + IlceAd string + type IlceListesiSonuc struct + Il Il + Ilceler []Ilce + Toplam int + type KargoBilgisi struct + KoliBilgileri []json.RawMessage + ToplamAdet int + ToplamDesi float64 + type LoginResult struct + GecerlilikSuresi int64 + KullaniciID int + Rol string + Rotalar []string + Token string + type OdemeBilgisi struct + KapidaOdemeUcreti float64 + ToplamFiyat float64 + type Option func(*Client) + func WithBaseURL(baseURL string) Option + func WithHTTPClient(hc *http.Client) Option + func WithRol(rol string) Option + func WithToken(token string) Option + type RaporOzet struct + Beklemede int + Iade int + TeslimEdilen int + ToplamDesi float64 + ToplamGonderi int + ToplamKapidaOdeme float64 + ToplamTutar float64 + Yolda int + type RaporTarihAraligi struct + Baslangic string + Bitis string + type TakipGonderi struct + AliciAdi string + Barkod string + DurumAdi string + type Taraf struct + Adi string + Adres string + IlAdi string + IlceAdi string + Telefon string + type TarihBilgisi struct + EklenmeTarih string + TeslimTarihi *string