@@ -31,14 +31,14 @@ func main() {
3131 ctx := context.Background ()
3232
3333 // Create a basicAuth client
34- client := btcpay.CreateBasicClient (" https://mybtcpayserver.com" , " myUsername" , " myPassword" )
34+ client := btcpay.NewBasicClient (" https://mybtcpayserver.com" , " myUsername" , " myPassword" )
3535
3636 // Print informations about the server, etc
3737 fmt.Println (client.GetServerInfo (ctx))
3838
3939 // Does the same but with an APIKey instead of basicAuth
4040 // Create a client with an APIKey
41- client2 := btcpay.CreateBasicClient (" https://mybtcpayserver.com" , btcpay.APIKey (" myAPIKey" )
41+ client2 := btcpay.NewClient (" https://mybtcpayserver.com" , btcpay.APIKey (" myAPIKey" )
4242
4343 // Print informations about the server, etc again but use the APIKey based client
4444 fmt.Println (client2.GetServerInfo (ctx))
@@ -102,7 +102,7 @@ Endpoint |
102102|` /api/v1/stores/{storeId}/payment-requests ` | ✅ Fully implemented
103103|` /api/v1/stores/{storeId}/pull-payments ` | ✅ Fully implemented
104104|` /api/v1/stores/{storeId}/payment-methods/OnChain/{cryptoCode}/wallet ` | ⏳ Work in progress
105- |` /misc/lang ` | ❌ Not working, [ issue ] ( https://github.com/btcpayserver/btcpayserver/issues/2437 )
105+ |` /misc/lang ` | ✅ Fully implemented
106106|` /i ` | ✅ Fully implemented
107107|` /api/v1/pull-payments ` | ✅ Fully implemented
108108
0 commit comments