31 lines
700 B
C#
31 lines
700 B
C#
// See https://aka.ms/new-console-template for more information
|
|
|
|
|
|
/*
|
|
*
|
|
* referalPage: /de/OnePiece
|
|
username: Skywalkerex
|
|
userPassword: Magnatpower310!!
|
|
/de/OnePiece/PostGetAction/User_Login
|
|
|
|
curbpJUJmtup1t.Tq0awbHIhIRwhzMW7vrsWxLAJu.pI9X4r
|
|
*/
|
|
|
|
namespace CardmarketBot
|
|
{
|
|
static class LexofficeApiAddressesBuilder
|
|
{
|
|
private static string BaseAddress = @"https://api.lexoffice.io";
|
|
private static string Invoice = "v1/invoices";
|
|
|
|
public static string InvoiceUri(string id)
|
|
{
|
|
return $"{BaseAddress}/{Invoice}/{id}";
|
|
}
|
|
|
|
public static string CreateInvoice()
|
|
{
|
|
return $"{BaseAddress}/{Invoice}";
|
|
}
|
|
}
|
|
} |