Skip to content

Commit

Permalink
[docs] use of new domain in URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
capcom6 committed Sep 20, 2024
1 parent b8934c0 commit 7675656
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Android SMS Gateway Go API Client
# SMS Gateway for Android™ Go API Client

[![Go Report Card](https://goreportcard.com/badge/github.com/android-sms-gateway/client-go)](https://goreportcard.com/report/github.com/android-sms-gateway/client-go)
[![GoDoc](https://godoc.org/github.com/android-sms-gateway/client-go?status.svg)](https://godoc.org/github.com/android-sms-gateway/client-go)
Expand All @@ -10,7 +10,7 @@
![GitHub All Releases](https://img.shields.io/github/downloads/android-sms-gateway/client-go/total)
[![GitHub issues](https://img.shields.io/github/issues/android-sms-gateway/client-go)](https://github.com/android-sms-gateway/client-go/issues)

This is a Go client library for interfacing with the [Android SMS Gateway API](https://sms.capcom.me).
This is a Go client library for interfacing with the [SMS Gateway for Android API](https://sms-gate.app).

## Features

Expand Down Expand Up @@ -89,7 +89,7 @@ func main() {

## API Reference

For more information on the API endpoints and data structures, please consult the [Android SMS Gateway API documentation](https://sms.capcom.me/api/).
For more information on the API endpoints and data structures, please consult the [SMS Gateway for Android API documentation](https://sms-gate.app/api).

# Contributing

Expand Down
4 changes: 2 additions & 2 deletions smsgateway/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,11 +9,11 @@ import (
"strings"
)

const BASE_URL = "https://sms.capcom.me/api/3rdparty/v1"
const BASE_URL = "https://api.sms-gate.app/3rdparty/v1"

type Config struct {
Client *http.Client // Optional HTTP Client, defaults to `http.DefaultClient`
BaseURL string // Optional base URL, defaults to `https://sms.capcom.me/api/3rdparty/v1`
BaseURL string // Optional base URL, defaults to `https://api.sms-gate.app/3rdparty/v1`
User string // Required username
Password string // Required password
}
Expand Down

0 comments on commit 7675656

Please sign in to comment.