diff --git a/BitnuvemAPI.Core/APIConfig.vb b/BitnuvemAPI.Core/APIConfig.vb new file mode 100644 index 0000000..75574c7 --- /dev/null +++ b/BitnuvemAPI.Core/APIConfig.vb @@ -0,0 +1,25 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + ''' + Public Class ApiConfig + Public Property ApiKey As String + Public Property SecretKey As String + Public Property BaseUrlTRADEAPI As String = "https://bitnuvem.com/tapi/" + Public Property BaseUrlAPI As String = "https://bitnuvem.com/api/BTC/" + Public Property BaseUrlWS As String = "https://bitnuvem.com/ws/" + Public Property SendInterceptors As IEnumerable(Of IBalanceInterceptor) = Array.Empty(Of IBalanceInterceptor)() + Public Sub Check() + If String.IsNullOrEmpty(ApiKey) Then Throw New ArgumentException("The API key is missing.", NameOf(ApiConfig.ApiKey)) + End Sub + End Class +End Namespace diff --git a/BitnuvemAPI.Core/Bitnuvem.ico b/BitnuvemAPI.Core/Bitnuvem.ico new file mode 100644 index 0000000..c2fe691 Binary files /dev/null and b/BitnuvemAPI.Core/Bitnuvem.ico differ diff --git a/BitnuvemAPI.Core/BitnuvemAPI.Core.vbproj b/BitnuvemAPI.Core/BitnuvemAPI.Core.vbproj new file mode 100644 index 0000000..98d9548 --- /dev/null +++ b/BitnuvemAPI.Core/BitnuvemAPI.Core.vbproj @@ -0,0 +1,33 @@ + + + + Library + BitnuvemAPI + netcoreapp3.1 + Resources\Bitnuvem.ico + My Project\app.manifest + + BitnuvemAPI + + + + + + + + + True + True + Resources.resx + + + + + + My.Resources + VbMyResourcesResXFileCodeGenerator + Resources.Designer.vb + + + + diff --git a/BitnuvemAPI.Core/BitnuvemClient.vb b/BitnuvemAPI.Core/BitnuvemClient.vb new file mode 100644 index 0000000..65a9142 --- /dev/null +++ b/BitnuvemAPI.Core/BitnuvemClient.vb @@ -0,0 +1,287 @@ +Imports System.Net.Http + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + ''' + Public Class BitnuvemClient : Implements IBitnuvemClient + + Private ReadOnly _Requester As IRequester + Public Sub New(ByVal Requester As IRequester) + _Requester = Requester + End Sub + + Public Shared Function Create(ByVal Config As ApiConfig, ByVal Optional Client As HttpClient = Nothing) As BitnuvemClient + Dim Requester = HttpClientRequester.Create(Config, Client) + Return New BitnuvemClient(Requester) + End Function + +#Region "API TRADE" + Public Async Function Balance() As Task(Of BalanceResponse) Implements IBitnuvemClient.Balance + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.CheckBalanceRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim RequestBody As String = http_build_query({"timestamp"}, {Time}) '"timestamp=" & Time + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of BalanceResponse)("balance", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function AccountBankList() As Task(Of Account_Bank_List) Implements IBitnuvemClient.AccountBankList + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.AccountBankListRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim RequestBody As String = http_build_query({"timestamp"}, {Time}) '"timestamp=" & Time + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Account_Bank_List)("account_bank_list", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Withdraw(Valor As String, BancoID As String) As Task(Of Withdraw) Implements IBitnuvemClient.Withdraw + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.WithdrawRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim RequestBody As String = http_build_query({"timestamp", "value", "bank_id"}, {Time, Valor, BancoID}) '"timestamp=" & Time & "?value=" & Valor & "?bank_id=" & BancoID + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Withdraw)("withdraw", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Send(BitcoinValor As String, CarteiraEndereco As String, Optional [Type] As Taxa = Taxa.Baixo) As Task(Of Send) Implements IBitnuvemClient.Send + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.SendRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim Taxacao As String = String.Empty + + Select Case [Type] + Case BitnuvemClient.Taxa.Prioritario + Taxacao = "high" + Case BitnuvemClient.Taxa.Regular + Taxacao = "regular" + Case BitnuvemClient.Taxa.Baixo + Taxacao = "low" + End Select + + Dim RequestBody As String = http_build_query({"timestamp", "amount", "address", "type"}, {Time, BitcoinValor, CarteiraEndereco, Taxacao}) '"timestamp=" & Time & "?amount=" & BitcoinValor & "?address=" & CarteiraEndereco & "?type=" & Taxacao + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Send)("send", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_Get(Order_Id As String) As Task(Of Order_Get) Implements IBitnuvemClient.Order_Get + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_GetRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + + Dim RequestBody As String = http_build_query({"timestamp", "order_id"}, {Time, Order_Id}) + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_Get)("order_get", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_List(Optional Status As OrderList = OrderList.Todas) As Task(Of Order_List) Implements IBitnuvemClient.Order_List + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_ListRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + + Dim Stu As String = String.Empty + Select Case Status + Case BitnuvemClient.OrderList.Todas + Stu = "all" + Case BitnuvemClient.OrderList.Ativas + Stu = "active" + Case BitnuvemClient.OrderList.Concluidas + Stu = "completed" + Case BitnuvemClient.OrderList.Canceladas + Stu = "canceled" + End Select + + Dim RequestBody As String = http_build_query({"timestamp", "status"}, {Time, Stu}) + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_List)("order_list", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_New_Limite(Tipo As Order, ValorBitcoin As String, Preco_Unitario As String, Optional Preco_Stop As String = "", Optional Preco_OCO As String = "") As Task(Of Order_New_Limite) Implements IBitnuvemClient.Order_New_Limite + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_NewRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim Tpo As String = String.Empty + Select Case Tipo + Case BitnuvemClient.OrderType.Compra + Tpo = "buy" + Case BitnuvemClient.OrderType.Venda + Tpo = "sell" + End Select + Dim RequestBody As String = http_build_query({"timestamp", "mode", "type", "amount", "price", "price_stop", "price_oco"}, {Time, "limit", Tpo, ValorBitcoin, Preco_Unitario, Preco_Stop, Preco_OCO}) '"timestamp=" & Time & "?mode=Limit" & "?type=" & Tpo & "?amount=" & ValorBitcoin & "?price=" & Preco_Unitario & "?price_stop=" & Preco_Stop & "?price_oco=" & Preco_OCO + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_New_Limite)("order_new", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_New_Mercado(Tipo As OrderType, ValorBitcoin As String, Total As String, Optional Preco_Stop As String = "") As Task(Of Order_New_Limite) Implements IBitnuvemClient.Order_New_Mercado + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_NewRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim Tpo As String = String.Empty + Select Case Tipo + Case BitnuvemClient.OrderType.Compra + Tpo = "buy" + Case BitnuvemClient.OrderType.Venda + Tpo = "sell" + End Select + Dim RequestBody As String = http_build_query({"timestamp", "mode", "type", "amount", "total", "price_stop"}, {Time, "market", Tpo, ValorBitcoin, Total, Preco_Stop}) '"timestamp=" & Time & "?mode=market" & "?type=" & tpo & "?amount=" & ValorBitcoin & "?total=" & Total & "?price_stop=" & Preco_Stop + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_New_Limite)("order_new", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_New_Escalonado(Tipo As OrderType, ValorBitcoin As String, Total As String, TypeScale As String, NumerodeOrdens As String, PrecoMin As String, PrecoMax As String) As Task(Of Order_New_Limite) Implements IBitnuvemClient.Order_New_Escalonado + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_NewRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim Tpo As String = String.Empty + Select Case Tipo + Case BitnuvemClient.OrderType.Compra + Tpo = "buy" + Case BitnuvemClient.OrderType.Venda + Tpo = "sell" + End Select + Dim RequestBody As String = http_build_query({"timestamp", "mode", "type", "amount", "total", "type_scale", "number_orders", "price_min", "price_max"}, {Time, "scale", Tpo, ValorBitcoin, Total, TypeScale, NumerodeOrdens, PrecoMin, PrecoMax}) '"timestamp=" & Time & "?mode=scale" & "?type=" & Type & "?amount=" & ValorBitcoin & "?total=" & Total & "?type_scale=" & TypeScale & "?number_orders=" & NumerodeOrdens & "?price_min=" & PrecoMin & "?price_max=" & PrecoMax + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_New_Limite)("order_new", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_Cancel(Order_Id As String) As Task(Of Order_Cancel) Implements IBitnuvemClient.Order_Cancel + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_CancelRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + Dim RequestBody As String = http_build_query({"timestamp", "order_id"}, {Time, Order_Id}) '"timestamp=" & Time & "?order_id=" & Order_Id + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_Cancel)("order_cancel", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Async Function Order_Cancel_All(Tipo As OrderType) As Task(Of Order_Cancel) Implements IBitnuvemClient.Order_Cancel_All + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Order_Cancel_AllRequestAsync()) + Dim HMAC As New HMAC256 + Dim Time As String = TimeToUnix(DateTime.UtcNow).ToString + + Dim Tpo As String = String.Empty + Select Case Tipo + Case BitnuvemClient.OrderType.Compra + Tpo = "buy" + Case BitnuvemClient.OrderType.Venda + Tpo = "sell" + Case BitnuvemClient.OrderType.Todas + Tpo = "all" + End Select + + Dim RequestBody As String = http_build_query({"timestamp"}, {Time}) '"timestamp=" & Time & "?type=" & Tpo + Dim Signature = HMAC.Create_HMACSHA256_Sign(RequestBody, _Requester.Configuration.SecretKey) + Return Await _Requester.Post(Of Order_Cancel)("order_cancel/all", New Dictionary(Of String, String) From {{"api_key", _Requester.Configuration.ApiKey}, {"request_body", RequestBody}, {"signature", Signature}}).ConfigureAwait(False) + End Function + + Public Enum Taxa + Prioritario = 1 + Regular = 2 + Baixo = 3 + End Enum + Public Enum OrderList + Todas = 1 + Ativas = 2 + Concluidas = 3 + Canceladas = 4 + End Enum + + Public Enum OrderType + Compra = 1 + Venda = 2 + Todas = 3 + End Enum + + Public Enum Order + Compra = 1 + Venda = 2 + End Enum +#End Region + +#Region "API" + Public Async Function Ticker() As Task(Of Ticker) Implements IBitnuvemClient.Tick + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Ticker_RequestAsync()) + Return Await _Requester.Post(Of Ticker)("ticker", New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function + + Public Async Function OrderBook() As Task(Of OrderBook) Implements IBitnuvemClient.OrderBook + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.OrderBook_RequestAsync()) + Return Await _Requester.Post(Of OrderBook)("orderbook", New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function + + Public Async Function Trades(From As Date, Optional [To] As Date = Nothing) As Task(Of Trades) Implements IBitnuvemClient.Trades + Dim F = TimeToUnix(From) + Dim T = String.Empty + + If [To] = Date.Parse("#1/1/0001 12:00:00 AM#") Then + T = "" + Else + T = TimeToUnix([To]) + End If + + Dim RequestBody As String = http_build_query({"from", "to"}, {F, T}) + + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Trades_RequestAsync()) + Return Await _Requester.Post(Of Trades)("trades?" & RequestBody, New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function + Public Async Function Cotacao() As Task(Of Cotacao) Implements IBitnuvemClient.Cotacao + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.OrderBook_RequestAsync()) + Return Await _Requester.Post(Of Cotacao)("cotacao", New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function + + Public Async Function AdvanceTrade() As Task(Of TradeAdvanced) Implements IBitnuvemClient.AdvanceTrade + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.OrderBook_RequestAsync()) + Return Await _Requester.Post(Of TradeAdvanced)("trade/advance", New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function + Public Async Function Fee() As Task(Of Fee) Implements IBitnuvemClient.Fee + Await _Requester.Configuration.SendInterceptors.ThrowInterceptorErrorsAsync(Function(i) i.Fee_RequestAsync()) + Return Await _Requester.Post(Of Fee)("fee", New Dictionary(Of String, String) From {}).ConfigureAwait(False) + End Function +#End Region + +#Region "Tools" + Friend Function http_build_query(ByVal ParameterNames() As String, ByVal ParameterValues() As String) As String + Dim sRet As String = "" + If ParameterNames.Length <> ParameterValues.Length Then Throw New System.Exception("The parameter arrays do not match.") + For i As Integer = 0 To ParameterNames.Length - 1 + sRet = String.Concat(sRet, IIf(sRet = "", "", "&"), ParameterNames(i), "=", ParameterValues(i)) + Next + Return sRet + End Function + Public Function TimeToUnix(ByVal dteDate As Date) As String + If dteDate.IsDaylightSavingTime = True Then + dteDate = DateAdd(DateInterval.Hour, -1, dteDate) + End If + TimeToUnix = DateDiff(DateInterval.Second, #1/1/1970#, dteDate) + End Function + + Public Function UnixToTime(ByVal strUnixTime As String) As Date + UnixToTime = DateAdd(DateInterval.Second, Val(strUnixTime), #1/1/1970#) + If UnixToTime.IsDaylightSavingTime = True Then + UnixToTime = DateAdd(DateInterval.Hour, 1, UnixToTime) + End If + End Function +#End Region + Public Sub Dispose() Implements IBitnuvemClient.Dispose + Dim Disposable As IDisposable = Nothing + + If [Implements].Assign(Disposable, TryCast(_Requester, IDisposable)) IsNot Nothing Then + Disposable.Dispose() + End If + End Sub + Private Class [Implements] + Shared Function Assign(Of T)(ByRef Target As T, Value As T) As T + Target = Value + Return Value + End Function + End Class + + End Class +End Namespace diff --git a/BitnuvemAPI.Core/BitnuvemException.vb b/BitnuvemAPI.Core/BitnuvemException.vb new file mode 100644 index 0000000..7e222f7 --- /dev/null +++ b/BitnuvemAPI.Core/BitnuvemException.vb @@ -0,0 +1,90 @@ +Imports System.Runtime.Serialization + +Namespace Bitnuvem + + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + ''' + Public Class BitnuvemException + Inherits Exception + Public ReadOnly Property StatusCode As Integer + Public Sub New() + End Sub + Public Sub New(ByVal statusCode As Integer) + Me.StatusCode = statusCode + End Sub + Public Sub New(ByVal message As String) + MyBase.New(message) + End Sub + Public Sub New(ByVal message As String, ByVal statusCode As Integer) + MyBase.New(message) + Me.StatusCode = statusCode + End Sub + Public Sub New(ByVal message As String, ByVal innerException As Exception) + MyBase.New(message, innerException) + Me.StatusCode = StatusCode + End Sub + Public Sub New(ByVal message As String, ByVal statusCode As Integer, ByVal innerException As Exception) + MyBase.New(message, innerException) + Me.StatusCode = statusCode + End Sub + Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext) + MyBase.New(info, context) + End Sub + + Public Function HasError(ByVal [error] As BitnuvemError) As Boolean + Return StatusCode = [error] + End Function + Public Function HasError(ByVal [error] As BitnuvemError, ParamArray errors As BitnuvemError()) As Boolean + Return errors.Concat({[error]}).Any(Function(e) StatusCode = e) + End Function + End Class + + Public Enum BitnuvemError + + Algo_inesperado_aconteceu = 106 + Chave_privada_invalida = 130 + E_necessario_ativar_a_Autenticação_em_2_passos = 131 + Essa_chave_privada_ainda_nao_foi_confirmada_por_e_mail = 132 + Time_Stamp_incorreto = 133 + Requisicao_invalida = 134 + E_necessario_ter_cadastro_completo_para_usar_a_API_de_Negociacao = 135 + Saldo_em_Bitcoin_insuficiente = 254 + Voce_precisa_transferir_no_minimo_0_00001000_BTC = 255 + O_endereco_da_carteira_destino_e_invalido = 256 + Você_nao_possui_saldo_Bitcoin_suficiente = 259 + Você_nao_possui_saldo_em_reais_suficiente = 260 + Conta_bancaria_nao_encontrada = 261 + Você_precisa_sacar_no_minimo_RS_10_00 = 264 + Os_valores_precisam_ser_maiores_que_0 = 267 + Saldo_em_Bitcoin_insuficiente_0 = 268 + Saldo_em_reais_insuficiente = 270 + Ordem_cancelada = 271 + Ordem_stop_preco_adicionada = 290 + O_valor_stop_de_venda_no_modo_OCO_deve_ser_menor_que_o_valor_de_venda_padrao = 291 + O_valor_stop_de_compra_no_modo_OCO_deve_ser_maior_que_o_valor_de_compra_padrao = 292 + Nao_e_possivel_lancar_ordens_com_valor_total_abaixo_de_RS_10_00__Tente_novamente_com_valores_maiores = 303 + Nao_e_possivel_lancar_ordens_com_valor_total_acima_de_RS_50_000_00__Tente_novamente_com_valores_menores = 305 + Nao_e_possivel_lancar_ordens_STOP_com_valor_de_compra_abaixo_da_melhor_oferta_de_compra_atual_e_ou_ultimo_valor_negociado = 306 + Nao_e_possivel_lancar_ordens_STOP_com_valor_de_venda_acima_da_melhor_oferta_de_venda_atual_e_ou_ultimo_valor_negociado = 307 + Aguarde_seu_depósito_de_bitcoin_ter_3_confirmacoes_para_prosseguir_com_esta_acao_Acompanhe_aqui = 313 + O_preco_unitario_minimo_deve_ser_acima_que_a_melhor_oferta_de_compra = 315 + O_preco_unitario_maximo_deve_ser_abaixo_que_a_melhor_oferta_de_venda = 316 + O_preco_unitario_maximo_deve_ser_maior_que_o_preco_unitario_minimo = 317 + Sao_permitidos_criar_numeros_de_ordem_entre_2_e_30 = 318 + Sua_chave_privada_nao_tem_acesso_à_essa_funcao = 331 + Esse_valor_excede_o_limite_de_RS_2_000_00_permitidos_para_usuario_sem_cadastro_completo__Conclua_seu_cadastro_clicando_aqui = 339 + Esse_valor_excede_o_limite_de_0_04000000_BTC_permitidos_para_usuario_sem_cadastro_completo__Conclua_seu_cadastro_clicando_aqui = 340 + É_possivel_realizar_somente_1_requisicao_por_segundo = 382 + Você_realizou_mais_de_60_requisicoes_por_minuto__Aguarde_alguns_instante_para_voltar_usar_a_API_de_Negociacao = 383 + Este_endereco_nao_e_o_mesmo_configurado_da_chave_da_API_de_Negociacoes = 440 + End Enum +End Namespace diff --git a/BitnuvemAPI.Core/HMACSHA256/HMACSHA256.vb b/BitnuvemAPI.Core/HMACSHA256/HMACSHA256.vb new file mode 100644 index 0000000..f5bcf7f --- /dev/null +++ b/BitnuvemAPI.Core/HMACSHA256/HMACSHA256.vb @@ -0,0 +1,19 @@ +Imports System.Security.Cryptography +Namespace Bitnuvem + Public Class HMAC256 + Public Function Create_HMACSHA256_Sign(ByVal Message As String, ByVal SecretKey As String) As String + Try + Dim Encoding = New Text.ASCIIEncoding() + Dim KeyByte As Byte() = Encoding.GetBytes(SecretKey) + Dim MessageBytes As Byte() = Encoding.GetBytes(Message) + Using Hmacsha256 = New HMACSHA256(KeyByte) + Dim HashBytes As Byte() = Hmacsha256.ComputeHash(MessageBytes) + Return BitConverter.ToString(HashBytes).Replace("-", "").ToLower() + End Using + Catch ex As Exception + Console.WriteLine(ex.Message) + Return Nothing + End Try + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/HTTP/HttpClientRequester.vb b/BitnuvemAPI.Core/HTTP/HttpClientRequester.vb new file mode 100644 index 0000000..bb48971 --- /dev/null +++ b/BitnuvemAPI.Core/HTTP/HttpClientRequester.vb @@ -0,0 +1,73 @@ +Imports System.Net.Http + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + + Public Class HttpClientRequester + Inherits RequesterBase + Implements IDisposable + + Private ReadOnly _Client As HttpClient + Private _DisposeClient As Boolean + Public Sub New(ByVal Configuration As ApiConfig, ByVal Client As HttpClient) + MyBase.New(Configuration) + _Client = Client + End Sub + Public Overrides Async Function Post(Of T As BitnuvemResponse)(Resource As String, Optional Parameters As Dictionary(Of String, String) = Nothing, Optional noThrow As Boolean = False) As Task(Of T) + Dim Result = Nothing + Dim Response As String = String.Empty + Dim Deserialized As BitnuvemResponse + + If Resource = "balance" Or Resource = "account_bank_list" Or Resource = "withdraw" Or Resource = "send" Or Resource = "order_get" Or Resource = "order_list" Or Resource = "order_new" Or Resource = "order_cancel" Or Resource = "order_cancel/all" Then + _Client.BaseAddress = New Uri(Configuration.BaseUrlTRADEAPI) + End If + + If Resource = "cotacao" Or Resource = "trade/advance" Then + _Client.BaseAddress = New Uri(Configuration.BaseUrlWS) + End If + + Result = Await CreateRequestAsync(Resource, HttpMethod.Post, Parameters).ConfigureAwait(True) + Response = Await Result.Content.ReadAsStringAsync().ConfigureAwait(False) + + If IsNumeric(Response) Then + Response = "{""status"":" & Response & ", ""message"": ""Error Here""}" + GoTo G + End If + + If Resource.Contains("trades?from=") OrElse Resource.Contains("account_bank_list") OrElse Resource.Contains("order_get") OrElse Resource.Contains("order_list") OrElse Resource.Contains("order_new") Then + Response = "{""root"":" & Response & "}".Replace(vbCrLf, "").Replace(vbTab, "") + End If + +G: + + Deserialized = Deserialize(Of T)(Response) + HandleError(Deserialized.Status, Deserialized.Message, noThrow:=noThrow) + Return Deserialized + End Function + Public Shared Sub ConfigureClient(Client As HttpClient, ByVal Configuration As ApiConfig) + Client.BaseAddress = New Uri(Configuration.BaseUrlAPI) + End Sub + Protected Friend Overridable Function CreateRequestAsync(ByVal Resource As String, ByVal Method As HttpMethod, ByVal Parameters As Dictionary(Of String, String)) As Task(Of HttpResponseMessage) + Dim content = New FormUrlEncodedContent(CreateParameterPairs(Parameters)) + Return _Client.SendAsync(New HttpRequestMessage(Method, New Uri(Resource, UriKind.Relative)) With {.Content = content}) + End Function + Public Shared Function Create(ByVal Config As ApiConfig, ByVal Optional Client As HttpClient = Nothing, ByVal Optional DisposeClient As Boolean = False) As HttpClientRequester + If Client Is Nothing Then DisposeClient = True + Client = If(Client, New HttpClient()) + HttpClientRequester.ConfigureClient(Client, Config) + Return New HttpClientRequester(Config, Client) With {._DisposeClient = DisposeClient} + End Function + Public Sub Dispose() Implements IDisposable.Dispose + If _DisposeClient Then _Client.Dispose() + End Sub + End Class +End Namespace diff --git a/BitnuvemAPI.Core/HTTP/IRequester.vb b/BitnuvemAPI.Core/HTTP/IRequester.vb new file mode 100644 index 0000000..9775f0e --- /dev/null +++ b/BitnuvemAPI.Core/HTTP/IRequester.vb @@ -0,0 +1,17 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Interface IRequester + ReadOnly Property Configuration As ApiConfig + Function Post(Of T As BitnuvemResponse)(ByVal resource As String, ByVal Optional parameters As Dictionary(Of String, String) = Nothing, ByVal Optional noThrow As Boolean = False) As Task(Of T) + End Interface +End Namespace diff --git a/BitnuvemAPI.Core/HTTP/RequesterBase.vb b/BitnuvemAPI.Core/HTTP/RequesterBase.vb new file mode 100644 index 0000000..baaf432 --- /dev/null +++ b/BitnuvemAPI.Core/HTTP/RequesterBase.vb @@ -0,0 +1,149 @@ +Imports BitnuvemAPI.Bitnuvem +Imports Newtonsoft.Json +Imports Newtonsoft.Json.Linq +Imports Newtonsoft.Json.Serialization + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public MustInherit Class RequesterBase + Implements IRequester + Public Sub New(ByVal configuration As ApiConfig) + Me.Configuration = configuration + configuration.Check() + End Sub + + Private Shared ReadOnly Settings As JsonSerializerSettings = New JsonSerializerSettings With { + .ContractResolver = New DefaultContractResolver With { + .NamingStrategy = New SnakeCaseNamingStrategy() + } + } + Protected Overridable Function Deserialize(Of T)(json As String) As T + Try + Return JsonConvert.DeserializeObject(Of T)(json, Settings) + + Catch ex As Exception + Return Nothing + End Try + + End Function + Protected Overridable Function Serialize(ByVal obj As Object) As String + Return JsonConvert.SerializeObject(obj, Settings) + End Function + + Protected Iterator Function CreateParameterPairs(ByVal Optional source As IEnumerable(Of KeyValuePair(Of String, String)) = Nothing) As IEnumerable(Of KeyValuePair(Of String, String)) + Yield New KeyValuePair(Of String, String)("api_key", Configuration.ApiKey) + If source Is Nothing Then Return + For Each item In source + Yield item + Next + End Function + Public ReadOnly Property Configuration As ApiConfig Implements IRequester.Configuration + + Public Shared Sub HandleError(ByVal statusCode As Integer, ByVal Message As String, ByVal Optional innerException As Exception = Nothing, ByVal Optional noThrow As Boolean = False) + If noThrow Then Return + If statusCode >= 106 AndAlso statusCode <= 135 Then + Throw New BitnuvemException(ErrorModels(statusCode), statusCode, innerException) + ElseIf statusCode >= 254 AndAlso statusCode <= 440 Then + Throw New BitnuvemException(ErrorModels(statusCode), statusCode, innerException) + Else + Return ' Success! + End If + End Sub + + Private Shared Function ErrorModels(ByVal ErrorNumber As Integer) As String + + If ErrorNumber = 200 Then + Return "Solicitação realizada com sucesso" + End If + + If ErrorNumber = 106 Then + Return "Algo inesperado aconteceu, tente novamente ou contate o suporte. [06]" + ElseIf ErrorNumber = 130 Then + Return "Chave privada inválida." + ElseIf ErrorNumber = 131 Then + Return "É necessário ativar a Autenticação em 2 passos para usar a API de Negocionações." + ElseIf ErrorNumber = 132 Then + Return "Essa chave privada ainda não foi confirmada por e-mail. Acesse sua caixa postal ou reenvie a confirmação acessando sua conta pela plataforma" + ElseIf ErrorNumber = 133 Then + Return "Time Stamp incorreto." + ElseIf ErrorNumber = 134 Then + Return "Requisição inválida." + ElseIf ErrorNumber = 135 Then + Return "É necessário ter cadastro completo para usar a API de Negociação" + ElseIf ErrorNumber = 214 Then + Return "Ação completada com sucesso!" + ElseIf ErrorNumber = 254 Then + Return "Saldo em Bitcoin insuficiente." + ElseIf ErrorNumber = 255 Then + Return "Você precisa transferir no mínimo 0.00001000 BTC." + ElseIf ErrorNumber = 256 Then + Return "O endereço da carteira destino é inválido." + ElseIf ErrorNumber = 259 Then + Return "Você não possui saldo Bitcoin suficiente." + ElseIf ErrorNumber = 260 Then + Return "Você não possui saldo em Reais suficiente." + ElseIf ErrorNumber = 261 Then + Return "Conta bancária não encontrada." + ElseIf ErrorNumber = 264 Then + Return "Você precisa sacar no mínimo R$ 10,00." + ElseIf ErrorNumber = 267 Then + Return "Os valores precisam ser maiores que 0." + ElseIf ErrorNumber = 268 Then + Return "Saldo em Bitcoin insuficiente." + ElseIf ErrorNumber = 270 Then + Return "Saldo em reais insuficiente." + ElseIf ErrorNumber = 271 Then + Return "Ordem cancelada." + ElseIf ErrorNumber = 290 Then + Return "Ordem stop-preco adicionada." + ElseIf ErrorNumber = 291 Then + Return "O valor stop de venda no modo OCO deve ser menor que o valor de venda padrão." + ElseIf ErrorNumber = 292 Then + Return "O valor stop de compra no modo OCO deve ser maior que o valor de compra padrão." + ElseIf ErrorNumber = 303 Then + Return "Não é possível lançar ordens com valor total abaixo de R$ 10,00. Tente novamente com valores maiores." + ElseIf ErrorNumber = 305 Then + Return "Não é possível lançar ordens com valor total acima de R$ 50.000,00. Tente novamente com valores menores." + ElseIf ErrorNumber = 306 Then + Return "Não é possível lançar ordens STOP com valor de compra abaixo da melhor oferta de compra atual e/ou último valor negociado." + ElseIf ErrorNumber = 307 Then + Return "Não é possível lançar ordens STOP com valor de venda acima da melhor oferta de venda atual e/ou último valor negociado." + ElseIf ErrorNumber = 313 Then + Return "Aguarde seu depósito de bitcoin ter 3 confirmações para prosseguir com esta ação." + ElseIf ErrorNumber = 314 Then + Return "Todas suas ordens foram canceladas com sucesso!" + ElseIf ErrorNumber = 315 Then + Return "O preço unitário mínimo deve ser acima que a melhor oferta de compra." + ElseIf ErrorNumber = 316 Then + Return "O preço unitário máximo deve ser abaixo que a melhor oferta de venda." + ElseIf ErrorNumber = 317 Then + Return "O preço unitário máximo deve ser maior que o preço unitário mínimo." + ElseIf ErrorNumber = 318 Then + Return "São permitidos criar numeros de ordem entre 2 e 30." + ElseIf ErrorNumber = 331 Then + Return "Sua chave privada não tem acesso à essa função." + ElseIf ErrorNumber = 339 Then + Return "Esse valor excede o limite de R$ 2.000,00 permitidos para usuário sem cadastro completo. Conclua seu cadastro." + ElseIf ErrorNumber = 340 Then + Return "Esse valor excede o limite de 0.04000000 BTC permitidos para usuário sem cadastro completo. Conclua seu cadastro." + ElseIf ErrorNumber = 382 Then + Return "É possível realizar somente 1 requisição por segundo." + ElseIf ErrorNumber = 383 Then + Return "Você realizou mais de 60 requisições por minuto. Aguarde alguns instante para voltar usar a API de Negociação." + ElseIf ErrorNumber = 440 Then + Return "Este endereço não é o mesmo configurado da chave da API de Negociações." + End If + Return "Unknown Error." + End Function + Public MustOverride Function Post(Of T As BitnuvemResponse)(ByVal resource As String, ByVal Optional parameters As Dictionary(Of String, String) = Nothing, ByVal Optional noThrow As Boolean = False) As Task(Of T) Implements IRequester.Post + End Class +End Namespace diff --git a/BitnuvemAPI.Core/IBitnuvemClient.vb b/BitnuvemAPI.Core/IBitnuvemClient.vb new file mode 100644 index 0000000..86e1618 --- /dev/null +++ b/BitnuvemAPI.Core/IBitnuvemClient.vb @@ -0,0 +1,42 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Interface IBitnuvemClient + Inherits IDisposable + +#Region "API TRADE" + Function Balance() As Task(Of BalanceResponse) + Function AccountBankList() As Task(Of Account_Bank_List) + Function Withdraw(Valor As String, BancoID As String) As Task(Of Withdraw) + Function Send(BitcoinValor As String, CarteiraEndereco As String, Optional [Type] As BitnuvemClient.Taxa = BitnuvemClient.Taxa.Baixo) As Task(Of Send) + Function Order_Get(Order_Id As String) As Task(Of Order_Get) + Function Order_List(Optional Status As BitnuvemClient.OrderList = BitnuvemClient.OrderList.Todas) As Task(Of Order_List) + Function Order_New_Limite(Tipo As BitnuvemClient.Order, ValorBitcoin As String, Preco As String, Optional Preco_Stop As String = "", Optional Preco_OCO As String = "") As Task(Of Order_New_Limite) + Function Order_New_Mercado(Tipo As BitnuvemClient.OrderType, ValorBitcoin As String, Total As String, Optional Preco_Stop As String = "") As Task(Of Order_New_Limite) + Function Order_New_Escalonado(Tipo As BitnuvemClient.OrderType, ValorBitcoin As String, Total As String, TypeScale As String, NumerodeOrdens As String, PrecoMin As String, PrecoMax As String) As Task(Of Order_New_Limite) + Function Order_Cancel(Order_ID As String) As Task(Of Order_Cancel) + Function Order_Cancel_All(Tipo As BitnuvemClient.OrderType) As Task(Of Order_Cancel) + +#End Region + + +#Region "API" + Function Tick() As Task(Of Ticker) + Function OrderBook() As Task(Of OrderBook) + Function Trades(From As Date, Optional [To] As Date = Nothing) As Task(Of Trades) + Function Fee() As Task(Of Fee) + Function Cotacao() As Task(Of Cotacao) + Function AdvanceTrade() As Task(Of TradeAdvanced) + +#End Region + End Interface +End Namespace diff --git a/BitnuvemAPI.Core/INTERCEPTORS/IBalanceInterceptor.vb b/BitnuvemAPI.Core/INTERCEPTORS/IBalanceInterceptor.vb new file mode 100644 index 0000000..029472e --- /dev/null +++ b/BitnuvemAPI.Core/INTERCEPTORS/IBalanceInterceptor.vb @@ -0,0 +1,37 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Interface IInterceptor + End Interface + Public Interface IBalanceInterceptor + Inherits IInterceptor + +#Region "API TRADE" + Function CheckBalanceRequestAsync() As Task(Of InterceptorResult) + Function AccountBankListRequestAsync() As Task(Of InterceptorResult) + Function WithdrawRequestAsync() As Task(Of InterceptorResult) + Function SendRequestAsync() As Task(Of InterceptorResult) + Function Order_GetRequestAsync() As Task(Of InterceptorResult) + Function Order_ListRequestAsync() As Task(Of InterceptorResult) + Function Order_NewRequestAsync() As Task(Of InterceptorResult) + Function Order_CancelRequestAsync() As Task(Of InterceptorResult) + Function Order_Cancel_AllRequestAsync() As Task(Of InterceptorResult) +#End Region + +#Region "API" + Function Ticker_RequestAsync() As Task(Of InterceptorResult) + Function OrderBook_RequestAsync() As Task(Of InterceptorResult) + Function Trades_RequestAsync() As Task(Of InterceptorResult) + Function Fee_RequestAsync() As Task(Of InterceptorResult) +#End Region + End Interface +End Namespace diff --git a/BitnuvemAPI.Core/INTERCEPTORS/InterceptorFailException.vb b/BitnuvemAPI.Core/INTERCEPTORS/InterceptorFailException.vb new file mode 100644 index 0000000..31a92e7 --- /dev/null +++ b/BitnuvemAPI.Core/INTERCEPTORS/InterceptorFailException.vb @@ -0,0 +1,49 @@ +Imports System.Runtime.Serialization + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class InterceptorFailException + Inherits Exception + Public ReadOnly Property InterceptorType As Type + Public ReadOnly Property Result As InterceptorResult + + Public Sub New() + End Sub + + Protected Sub New(ByVal info As SerializationInfo, ByVal context As StreamingContext) + MyBase.New(info, context) + End Sub + + Public Sub New(ByVal message As String) + MyBase.New(message) + End Sub + Public Sub New(ByVal message As String, ByVal result As InterceptorResult, ByVal Optional interceptorType As Type = Nothing) + MyBase.New(message) + Me.InterceptorType = interceptorType + Me.Result = result + End Sub + Public Sub New(ByVal result As InterceptorResult, ByVal Optional interceptorType As Type = Nothing) + MyBase.New(result.Message) + Me.InterceptorType = interceptorType + Me.Result = result + End Sub + Public Sub New(ByVal message As String, ByVal innerException As Exception, ByVal Optional interceptorType As Type = Nothing) + MyBase.New(message, innerException) + Me.InterceptorType = interceptorType + End Sub + Public Sub New(ByVal message As String, ByVal result As InterceptorResult, ByVal innerException As Exception, ByVal Optional interceptorType As Type = Nothing) + MyBase.New(message, innerException) + Me.InterceptorType = interceptorType + Me.Result = result + End Sub + End Class +End Namespace diff --git a/BitnuvemAPI.Core/INTERCEPTORS/InterceptorResult.vb b/BitnuvemAPI.Core/INTERCEPTORS/InterceptorResult.vb new file mode 100644 index 0000000..a369c5b --- /dev/null +++ b/BitnuvemAPI.Core/INTERCEPTORS/InterceptorResult.vb @@ -0,0 +1,39 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class InterceptorResult + Public ReadOnly Property IsSuccess As Boolean + Public ReadOnly Property Message As String + + Private Sub New(ByVal isSuccess As Boolean, ByVal message As String) + Me.IsSuccess = isSuccess + Me.Message = message + End Sub + Public Shared Function Success() As InterceptorResult + Return New InterceptorResult(True, Nothing) + End Function + + Public Shared Function Fail(ByVal message As String) As InterceptorResult + Return New InterceptorResult(False, message) + End Function + + Public Shared Function IfFailure(ByVal failed As Boolean, ByVal message As String) As InterceptorResult + If failed Then Return Fail(message) + Return Success() + End Function + + Public Shared Function IfFailure(ByVal failed As Boolean, ByVal message As Func(Of String)) As InterceptorResult + If failed Then Return Fail(message()) + Return Success() + End Function + End Class +End Namespace diff --git a/BitnuvemAPI.Core/INTERCEPTORS/LimitSendInterceptor.vb b/BitnuvemAPI.Core/INTERCEPTORS/LimitSendInterceptor.vb new file mode 100644 index 0000000..5c0ee04 --- /dev/null +++ b/BitnuvemAPI.Core/INTERCEPTORS/LimitSendInterceptor.vb @@ -0,0 +1,40 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + 'Public Class LimitSendInterceptor + ' Implements IBalanceInterceptor + + ' Public ReadOnly Property Currency As String + ' Public ReadOnly Property SatoshiLimit As Long + + ' + ' Public Sub New(ByVal currency As String, ByVal satoshiLimit As Long) + ' Me.Currency = If(currency, CSharpImpl.[Throw](Of String)(New ArgumentNullException(NameOf(currency)))) + ' Me.SatoshiLimit = satoshiLimit + ' End Sub + ' Public Async Function CheckBalanceRequestAsync() As Task(Of InterceptorResult) Implements IBalanceInterceptor.CheckBalanceRequestAsync + ' If Not Me.Currency.Equals(Currency, StringComparison.OrdinalIgnoreCase) Then Return Await Task.FromResult(InterceptorResult.Success()) + ' Return Nothing + ' End Function + + ' Public Async Function AccountBankListRequestAsync() As Task(Of InterceptorResult) Implements IBalanceInterceptor.AccountBankListRequestAsync + ' If Not Me.Currency.Equals(Currency, StringComparison.OrdinalIgnoreCase) Then Return Await Task.FromResult(InterceptorResult.Success()) + ' Return Nothing + ' End Function + ' Private Class CSharpImpl + ' + ' Shared Function [Throw](Of T)(ByVal e As Exception) As T + ' Throw e + ' End Function + ' End Class + 'End Class +End Namespace diff --git a/BitnuvemAPI.Core/INTERCEPTORS/SendInterceptorExtensions.vb b/BitnuvemAPI.Core/INTERCEPTORS/SendInterceptorExtensions.vb new file mode 100644 index 0000000..6656600 --- /dev/null +++ b/BitnuvemAPI.Core/INTERCEPTORS/SendInterceptorExtensions.vb @@ -0,0 +1,32 @@ +Imports System.Runtime.CompilerServices + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Module SendInterceptorExtensions + + Public Async Function ThrowInterceptorErrorsAsync(Of T As IInterceptor)(ByVal interceptors As IEnumerable(Of T), ByVal checker As Func(Of T, Task(Of InterceptorResult))) As Task + For Each interceptor In interceptors + Dim result = Await checker(interceptor).ConfigureAwait(False) + If Not result.IsSuccess Then Throw New InterceptorFailException(result, interceptor.GetType()) + Next + End Function + + + Public Function ThrowInterceptorErrors(Of T As IInterceptor)(ByVal interceptors As IEnumerable(Of T), ByVal checker As Func(Of T, InterceptorResult)) + For Each interceptor In interceptors + Dim result = checker(interceptor) + If Not result.IsSuccess Then Throw New InterceptorFailException(result, interceptor.GetType()) + Next + Return Nothing + End Function + End Module +End Namespace diff --git a/BitnuvemAPI.Core/InvalidCryptocurrencyAddressException.vb b/BitnuvemAPI.Core/InvalidCryptocurrencyAddressException.vb new file mode 100644 index 0000000..2f92026 --- /dev/null +++ b/BitnuvemAPI.Core/InvalidCryptocurrencyAddressException.vb @@ -0,0 +1,29 @@ + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + ''' + Public Class InvalidCryptocurrencyAddressException + Inherits BitnuvemException + Private Const ErrorCode As Integer = CInt(BitnuvemError.Requisicao_invalida) + Public Sub New() + MyBase.New(ErrorCode) + + End Sub + Public Sub New(ByVal message As String) + MyBase.New(message, ErrorCode) + End Sub + + Public Sub New(ByVal message As String, ByVal innerException As Exception) + MyBase.New(message, ErrorCode, innerException) + End Sub + End Class +End Namespace diff --git a/BitnuvemAPI.Core/MODELS/API/Cotacao.vb b/BitnuvemAPI.Core/MODELS/API/Cotacao.vb new file mode 100644 index 0000000..b9a4de4 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/Cotacao.vb @@ -0,0 +1,60 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Cotacao + Inherits BitnuvemResponse + + + Public Property Code As String + + + Public Property Data As Cot + + Class Cot + + Public Property Cotacao As Result + + Class Result + + Public Property Ultimo As String + + + Public Property Variacao_24h As String + + + Public Property Valor_Dolar As String + + + Public Property Valor_BTC_Dolar As String + + + Public Property Valor_Dolar_BTC As String + + + Public Property Valor_Diferenca_Dolar_BTC As String + + + Public Property Volume_24h As String + End Class + End Class + Public Overrides Function ToString() As String + Return "Último: " & Data.Cotacao.Ultimo & vbCrLf & + "Variação 24h: " & Data.Cotacao.Variacao_24h & vbCrLf & + "Valor Dolar: " & Data.Cotacao.Valor_Dolar & vbCrLf & + "Valor BTC x Dolar: " & Data.Cotacao.Valor_BTC_Dolar & vbCrLf & + "Valor Dolar x BTC: " & Data.Cotacao.Valor_Dolar_BTC & vbCrLf & + "Valor Dolar x BTC Diferença: " & Data.Cotacao.Valor_Diferenca_Dolar_BTC & vbCrLf & + "Volume 24h: " & Data.Cotacao.Volume_24h & vbCrLf + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/API/Fee.vb b/BitnuvemAPI.Core/MODELS/API/Fee.vb new file mode 100644 index 0000000..81c3cf8 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/Fee.vb @@ -0,0 +1,35 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Fee + Inherits BitnuvemResponse + + + + Public Property Baixo As String + + + Public Property Regular As String + + + Public Property Alta As String + + + + Public Overrides Function ToString() As String + Return "Baixo: " & Baixo & vbCrLf & + "Regular: " & Regular & vbCrLf & + "Alta: " & Alta & vbCrLf + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/API/OrderBook.vb b/BitnuvemAPI.Core/MODELS/API/OrderBook.vb new file mode 100644 index 0000000..f7ecfbb --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/OrderBook.vb @@ -0,0 +1,38 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class OrderBook + Inherits BitnuvemResponse + + + Public Property bids As List(Of List(Of Object)) + + + Public Property asks As List(Of List(Of Object)) + + Public Overrides Function ToString() As String + Dim Books As String = String.Empty + Books += "Preço da Oferta: " & vbCrLf + For i = 0 To bids.Count - 1 + Books += bids.Item(i).Item(0).ToString & " | " & bids.Item(i).Item(1).ToString & vbCrLf + Next + + Books += vbCrLf & "Quantia Total da Oferta: " & vbCrLf + For i = 0 To asks.Count - 1 + Books += asks.Item(i).Item(0).ToString & " | " & asks.Item(i).Item(1).ToString & vbCrLf + Next + + Return Books + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/API/Ticker.vb b/BitnuvemAPI.Core/MODELS/API/Ticker.vb new file mode 100644 index 0000000..78b4c8c --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/Ticker.vb @@ -0,0 +1,55 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Ticker + Inherits BitnuvemResponse + + + Public Property ticker As Order + + + Class Order + + Public Property High As String + + + Public Property Low As String + + + Public Property Volume As String + + + Public Property Last As String + + + Public Property Buy As String + + + Public Property Sell As String + + + Public Property Data As String + End Class + + + Public Overrides Function ToString() As String + Return "Máxima: " & ticker.High & vbCrLf & + "Mínima: " & ticker.Low & vbCrLf & + "Volume: " & ticker.Volume & vbCrLf & + "Último: " & ticker.Last & vbCrLf & + "Compra: " & ticker.Buy & vbCrLf & + "Venda: " & ticker.Sell & vbCrLf & + "Data: " & ticker.Data & vbCrLf + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/API/TradeAdvanced.vb b/BitnuvemAPI.Core/MODELS/API/TradeAdvanced.vb new file mode 100644 index 0000000..6c3565d --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/TradeAdvanced.vb @@ -0,0 +1,146 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class TradeAdvanced + Inherits BitnuvemResponse + + + Public Property Code As String + + + Public Property Data As DataBook + + Class DataBook + + Public Property DataBook As String + + + Public Property Livro_Ofertas As LivrodeOfertas + + Class LivrodeOfertas + + Public Property Compras As Compras_ + + + Public Property Vendas As Vendas_ + + + Public Property Informacoes As Info_ + + Class Compras_ + + Public Property Melhor As String + + + Public Property Total As String + + + Public Property Ordens As List(Of Ordens_) + + Class Ordens_ + + Public Property Data As String + + + Public Property Ordem_Nova As String + + + Public Property Quantidade As String + + + Public Property Valor_BTC As String + + + Public Property Total As String + + + Public Property Relevancia As String + End Class + End Class + + Class Vendas_ + + Public Property Melhor As String + + + Public Property Total As String + + + Public Property Ordens As List(Of Ordens_) + + Class Ordens_ + + Public Property Data As String + + + Public Property Ordem_Nova As String + + + Public Property Quantidade As String + + + Public Property Valor_BTC As String + + + Public Property Total As String + + + Public Property Relevancia As String + End Class + End Class + + Class Info_ + + Public Property Spread As Spread_ + + + Public Property Minimo As String + + + Public Property Maximo As String + + + Class Spread_ + + Public Property Porcentagem As String + + + Public Property Valor As String + End Class + End Class + + End Class + + + Public Property Ultimas As List(Of Ultimas_) + + Class Ultimas_ + + Public Property Tipo As String + + + Public Property Data As String + + + Public Property Quantidade As String + + + Public Property Preco As String + + + Public Property Valor As String + End Class + + End Class + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/API/Trades.vb b/BitnuvemAPI.Core/MODELS/API/Trades.vb new file mode 100644 index 0000000..450c3e2 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/API/Trades.vb @@ -0,0 +1,56 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + + Public Class Trades + Inherits BitnuvemResponse + + + Public Property Result As List(Of Results) + + + Class Results + + Public Property [date] As String + + + Public Property Valor As String + + + Public Property Preco As String + + + Public Property Tipo As String + + + Public Property TID As String + End Class + + Public Overrides Function ToString() As String + On Error Resume Next + Dim Response As String = String.Empty + + For i = 0 To Result.Count - 1 + Response += "Data: " & Result.Item(i).date & vbCrLf + Response += "Valor: " & Result.Item(i).Valor & vbCrLf + Response += "Preço: " & Result.Item(i).Preco & vbCrLf + Response += "Tipo: " & Result.Item(i).Tipo & vbCrLf + Response += "TID: " & Result.Item(i).TID & vbCrLf & vbCrLf + Response += vbCrLf + Next + Return Response + End Function + End Class + + +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/BitnuvemResponse.vb b/BitnuvemAPI.Core/MODELS/BitnuvemResponse.vb new file mode 100644 index 0000000..667ee37 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/BitnuvemResponse.vb @@ -0,0 +1,22 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public MustInherit Class BitnuvemResponse + + Friend Property Status As Integer + + + Friend Property Message As String + + End Class +End Namespace diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Account_Bank_List.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Account_Bank_List.vb new file mode 100644 index 0000000..45c0b8d --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Account_Bank_List.vb @@ -0,0 +1,72 @@ +Imports Newtonsoft.Json +Namespace Bitnuvem + + Public Class Account_Bank_List + Inherits BitnuvemResponse + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + + + + + Public Property Result As List(Of Results) + + Class Results + + Public Property id As Integer + + + Public Property cpf_cnpj As String + + + Public Property bank As String + + + Public Property agency As String + + + Public Property agency_digit As String + + + Public Property account As String + + + Public Property account_digit As String + + + Public Property account_type As String + + + Public Property account_name As String + + + Public Property operation As String + End Class + + Public Overrides Function ToString() As String + Dim Response As String = String.Empty + + For i = 0 To Result.Count - 1 + Response += "Id: " & Result(i).id & vbCrLf + Response += "CPF/CNPJ: " & Result(i).cpf_cnpj & vbCrLf + Response += "Banco: " & Result(i).bank & vbCrLf + Response += "Agência: " & Result(i).agency & vbCrLf + Response += "Dígito Agencia: " & Result(i).agency_digit & vbCrLf + Response += "Conta: " & Result(i).account & vbCrLf + Response += "Dígito Conta: " & Result(i).account_digit & vbCrLf + Response += "Tipo Conta " & Result(i).account_type & vbCrLf + Response += "Titular: " & Result(i).account_name & vbCrLf + Response += "Operação: " & Result(i).operation & vbCrLf & vbCrLf + Next + Return Response + End Function + End Class +End Namespace diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/BalanceResponse.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/BalanceResponse.vb new file mode 100644 index 0000000..cde3617 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/BalanceResponse.vb @@ -0,0 +1,57 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class BalanceResponse + Inherits BitnuvemResponse + + Public Property total As total_ + + + Public Property available As available_ + + + Public Property in_use As in_use_ + + Public Class total_ + + Public Property REAL As String + + Public Property BTC As String + End Class + Public Class available_ + + Public Property REAL As String + + Public Property BTC As String + End Class + + Public Class in_use_ + + Public Property REAL As String + + Public Property BTC As String + End Class + + Public Overrides Function ToString() As String + Return "Total:" & vbCrLf & + "Real: " & total.REAL & vbCrLf & + "BTC: " & total.BTC & vbCrLf & vbCrLf & + "Disponível: " & vbCrLf & + "Real: " & available.REAL & vbCrLf & + "BTC: " & available.BTC & vbCrLf & vbCrLf & + "Em Uso: " & vbCrLf & + "Real: " & in_use.REAL & vbCrLf & + "BTC: " & in_use.BTC & vbCrLf & vbCrLf + End Function + End Class +End Namespace diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Cancel.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Cancel.vb new file mode 100644 index 0000000..73b7fc3 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Cancel.vb @@ -0,0 +1,17 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Order_Cancel + Inherits BitnuvemResponse + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Get.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Get.vb new file mode 100644 index 0000000..e195b6a --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_Get.vb @@ -0,0 +1,98 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Order_Get + Inherits BitnuvemResponse + + + Public Property Result As List(Of Results) + + Class Results + + Public Property Id As String + + + Public Property Criado As String + + + Public Property Modo As String + + + Public Property Tipo As String + + + Public Property Status As String + + + Public Property Quantidade As String + + + Public Property Preco As String + + + Public Property Total As String + + + Public Property Quantidade_Executada As String + + + Public Property Ordens_Executadas As List(Of OrderExecuted) + + Class OrderExecuted + + Public Property Criado As String + + + Public Property Preco As String + + + Public Property Quantidade As String + End Class + + + Public Property Gatilho As String + + + Public Property Preco_Gatilho As String + + End Class + + Public Overrides Function ToString() As String + On Error Resume Next + Dim Response As String = String.Empty + + For i = 0 To Result.Count - 1 + Response += "ID: " & Result.Item(i).Id & vbCrLf + Response += "Criado: " & Result.Item(i).Criado & vbCrLf + Response += "Modo: " & Result.Item(i).Modo & vbCrLf + Response += "Tipo: " & Result.Item(i).Tipo & vbCrLf + Response += "Status: " & Result.Item(i).Status & vbCrLf + Response += "Quantidade: " & Result.Item(i).Quantidade & vbCrLf + Response += "Preço: " & Result.Item(i).Preco & vbCrLf + Response += "Total: " & Result.Item(i).Total & vbCrLf + Response += "Quantidade Executada: " & Result.Item(i).Quantidade_Executada & vbCrLf + Response += "Gatilho: " & Result.Item(i).Gatilho & vbCrLf + Response += "Preco Gatilho: " & Result.Item(i).Preco_Gatilho & vbCrLf + Response += "----- Ordens Executadas -----" & vbCrLf + + For h = 0 To Result.Item(i).Ordens_Executadas.Count - 1 + Response += "Criado: " & Result.Item(i).Ordens_Executadas(h).Criado & vbCrLf + Response += "Preço: " & Result.Item(i).Ordens_Executadas(h).Preco & vbCrLf + Response += "Quantidade: " & Result.Item(i).Ordens_Executadas(h).Quantidade & vbCrLf + Next + Response += vbCrLf + Next + Return Response + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Order_List.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_List.vb new file mode 100644 index 0000000..db6cbad --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_List.vb @@ -0,0 +1,61 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Order_List + Inherits BitnuvemResponse + + + Public Property Result As List(Of Results) + + Class Results + + Public Property Id As String + + + Public Property Criado As String + + + Public Property Modo As String + + + Public Property Tipo As String + + + Public Property Status As String + + + Public Property Quantidade As String + + + Public Property Preco As String + + End Class + + + Public Overrides Function ToString() As String + Dim Response As String = String.Empty + + For i = 0 To Result.Count - 1 + Response += "ID: " & Result.Item(i).Id & vbCrLf + Response += "Criado: " & Result.Item(i).Criado & vbCrLf + Response += "Modo: " & Result.Item(i).Modo & vbCrLf + Response += "Tipo: " & Result.Item(i).Tipo & vbCrLf + Response += "Status: " & Result.Item(i).Status & vbCrLf + Response += "Quantidade: " & Result.Item(i).Quantidade & vbCrLf + Response += "Preço: " & Result.Item(i).Preco & vbCrLf + Response += vbCrLf + Next + Return Response + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Order_New_Limite.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_New_Limite.vb new file mode 100644 index 0000000..6b23999 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Order_New_Limite.vb @@ -0,0 +1,60 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Order_New_Limite + Inherits BitnuvemResponse + + + Public Property Result As List(Of Results) + + Class Results + + Public Property Id As String + + + Public Property Criado As String + + + Public Property Modo As String + + + Public Property Tipo As String + + + Public Property Status As String + + + Public Property Quantidade As String + + + Public Property Preco As String + End Class + + Public Overrides Function ToString() As String + On Error Resume Next + Dim Response As String = String.Empty + For i = 0 To Result.Count - 1 + Response += "Id: " & Result(i).Id & vbCrLf + Response += "Criado: " & Result(i).Criado & vbCrLf + Response += "Modo: " & Result(i).Modo & vbCrLf + Response += "Tipo: " & Result(i).Tipo & vbCrLf + Response += "Status: " & Result(i).Status & vbCrLf + Response += "Quantidade: " & Result(i).Quantidade & vbCrLf + Response += "Preço: " & Result(i).Preco & vbCrLf + Response += vbCrLf + Next + + Return Response + End Function + End Class +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Send.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Send.vb new file mode 100644 index 0000000..524f315 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Send.vb @@ -0,0 +1,17 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Send + Inherits BitnuvemResponse + End Class +End Namespace diff --git a/BitnuvemAPI.Core/MODELS/TRADE_API/Withdraw.vb b/BitnuvemAPI.Core/MODELS/TRADE_API/Withdraw.vb new file mode 100644 index 0000000..c4d55c8 --- /dev/null +++ b/BitnuvemAPI.Core/MODELS/TRADE_API/Withdraw.vb @@ -0,0 +1,18 @@ +Imports Newtonsoft.Json + +Namespace Bitnuvem + ''' + ''' *** MADE FOR GITHUB *** + ''' WRITTEN BY ROMULO MEIRELLES. + ''' UPWORK: https://www.upwork.com/freelancers/~01fcbc5039ac5766b4 + ''' CONTACT WHATSAPP: https://wa.me/message/KWIS3BYO6K24N1 + ''' CONTACT TELEGRAM: https://t.me/Romulo_Meirelles + ''' GITHUB: https://github.com/Romulo-Meirelles + ''' DISCORD: đąяķňέs§¢øďε#2786 + ''' + ''' + Public Class Withdraw + Inherits BitnuvemResponse + End Class + +End Namespace \ No newline at end of file diff --git a/BitnuvemAPI.Core/My Project/Resources.Designer.vb b/BitnuvemAPI.Core/My Project/Resources.Designer.vb new file mode 100644 index 0000000..2c69273 --- /dev/null +++ b/BitnuvemAPI.Core/My Project/Resources.Designer.vb @@ -0,0 +1,73 @@ +'------------------------------------------------------------------------------ +' +' O código foi gerado por uma ferramenta. +' Versão de Tempo de Execução:4.0.30319.42000 +' +' As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se +' o código for gerado novamente. +' +'------------------------------------------------------------------------------ + +Option Strict On +Option Explicit On + +Imports System + +Namespace My.Resources + + 'Essa classe foi gerada automaticamente pela classe StronglyTypedResourceBuilder + 'através de uma ferramenta como ResGen ou Visual Studio. + 'Para adicionar ou remover um associado, edite o arquivo .ResX e execute ResGen novamente + 'com a opção /str, ou recrie o projeto do VS. + ''' + ''' Uma classe de recurso de tipo de alta segurança, para pesquisar cadeias de caracteres localizadas etc. + ''' + _ + Friend Module Resources + + Private resourceMan As Global.System.Resources.ResourceManager + + Private resourceCulture As Global.System.Globalization.CultureInfo + + ''' + ''' Retorna a instância de ResourceManager armazenada em cache usada por essa classe. + ''' + _ + Friend ReadOnly Property ResourceManager() As Global.System.Resources.ResourceManager + Get + If Object.ReferenceEquals(resourceMan, Nothing) Then + Dim temp As Global.System.Resources.ResourceManager = New Global.System.Resources.ResourceManager("BitnuvemAPI.Resources", GetType(Resources).Assembly) + resourceMan = temp + End If + Return resourceMan + End Get + End Property + + ''' + ''' Substitui a propriedade CurrentUICulture do thread atual para todas as + ''' pesquisas de recursos que usam essa classe de recurso de tipo de alta segurança. + ''' + _ + Friend Property Culture() As Global.System.Globalization.CultureInfo + Get + Return resourceCulture + End Get + Set + resourceCulture = value + End Set + End Property + + ''' + ''' Consulta um recurso localizado do tipo System.Byte[]. + ''' + Friend ReadOnly Property Bitnuvem() As Byte() + Get + Dim obj As Object = ResourceManager.GetObject("Bitnuvem", resourceCulture) + Return CType(obj,Byte()) + End Get + End Property + End Module +End Namespace diff --git a/BitnuvemAPI.Core/My Project/Resources.resx b/BitnuvemAPI.Core/My Project/Resources.resx new file mode 100644 index 0000000..b5b92b9 --- /dev/null +++ b/BitnuvemAPI.Core/My Project/Resources.resx @@ -0,0 +1,124 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + text/microsoft-resx + + + 2.0 + + + System.Resources.ResXResourceReader, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + System.Resources.ResXResourceWriter, System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + + + ..\Resources\Bitnuvem.ico;System.Byte[], mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089 + + \ No newline at end of file diff --git a/BitnuvemAPI.Core/My Project/app.manifest b/BitnuvemAPI.Core/My Project/app.manifest new file mode 100644 index 0000000..51222a8 --- /dev/null +++ b/BitnuvemAPI.Core/My Project/app.manifest @@ -0,0 +1,79 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/BitnuvemAPI.Core/Pictures/Bitnuvem_icon.png b/BitnuvemAPI.Core/Pictures/Bitnuvem_icon.png new file mode 100644 index 0000000..608c87b Binary files /dev/null and b/BitnuvemAPI.Core/Pictures/Bitnuvem_icon.png differ diff --git a/BitnuvemAPI.Core/Pictures/Bitnuvem_logo.png b/BitnuvemAPI.Core/Pictures/Bitnuvem_logo.png new file mode 100644 index 0000000..7c0bd41 Binary files /dev/null and b/BitnuvemAPI.Core/Pictures/Bitnuvem_logo.png differ diff --git a/BitnuvemAPI.Core/Pictures/PackageIcon.png b/BitnuvemAPI.Core/Pictures/PackageIcon.png new file mode 100644 index 0000000..608c87b Binary files /dev/null and b/BitnuvemAPI.Core/Pictures/PackageIcon.png differ diff --git a/BitnuvemAPI.Core/RequestBalance.vb b/BitnuvemAPI.Core/RequestBalance.vb new file mode 100644 index 0000000..cac34fe --- /dev/null +++ b/BitnuvemAPI.Core/RequestBalance.vb @@ -0,0 +1,4 @@ +Public Class RequestBalance + Public Property timestamp As String + +End Class diff --git a/BitnuvemAPI.Core/Resources/Bitnuvem.ico b/BitnuvemAPI.Core/Resources/Bitnuvem.ico new file mode 100644 index 0000000..c2fe691 Binary files /dev/null and b/BitnuvemAPI.Core/Resources/Bitnuvem.ico differ diff --git "a/BitnuvemAPI.Core/Sem T\303\255tulo-1.png" "b/BitnuvemAPI.Core/Sem T\303\255tulo-1.png" new file mode 100644 index 0000000..608c87b Binary files /dev/null and "b/BitnuvemAPI.Core/Sem T\303\255tulo-1.png" differ diff --git a/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.deps.json b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.deps.json new file mode 100644 index 0000000..9869809 --- /dev/null +++ b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.deps.json @@ -0,0 +1,41 @@ +{ + "runtimeTarget": { + "name": ".NETCoreApp,Version=v3.0", + "signature": "" + }, + "compilationOptions": {}, + "targets": { + ".NETCoreApp,Version=v3.0": { + "BitnuvemAPI/1.0.0": { + "dependencies": { + "Newtonsoft.Json": "13.0.1" + }, + "runtime": { + "BitnuvemAPI.dll": {} + } + }, + "Newtonsoft.Json/13.0.1": { + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": { + "assemblyVersion": "13.0.0.0", + "fileVersion": "13.0.1.25517" + } + } + } + } + }, + "libraries": { + "BitnuvemAPI/1.0.0": { + "type": "project", + "serviceable": false, + "sha512": "" + }, + "Newtonsoft.Json/13.0.1": { + "type": "package", + "serviceable": true, + "sha512": "sha512-ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "path": "newtonsoft.json/13.0.1", + "hashPath": "newtonsoft.json.13.0.1.nupkg.sha512" + } + } +} \ No newline at end of file diff --git a/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.dll b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.dll new file mode 100644 index 0000000..edbf4e5 Binary files /dev/null and b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.dll differ diff --git a/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.pdb b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.pdb new file mode 100644 index 0000000..4818b7d Binary files /dev/null and b/BitnuvemAPI.Core/bin/Debug/netcoreapp3.0/BitnuvemAPI.pdb differ diff --git a/BitnuvemAPI.Core/favicon.ico b/BitnuvemAPI.Core/favicon.ico new file mode 100644 index 0000000..335388f Binary files /dev/null and b/BitnuvemAPI.Core/favicon.ico differ diff --git a/BitnuvemAPI.Core/logo-h-color.png b/BitnuvemAPI.Core/logo-h-color.png new file mode 100644 index 0000000..7c0bd41 Binary files /dev/null and b/BitnuvemAPI.Core/logo-h-color.png differ diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.dgspec.json b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.dgspec.json new file mode 100644 index 0000000..1c017cd --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.dgspec.json @@ -0,0 +1,78 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj": {} + }, + "projects": { + "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj", + "projectName": "BitnuvemAPI", + "projectPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj", + "packagesPath": "C:\\Users\\Romulo Meirelles\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files\\Microsoft\\Xamarin\\NuGet\\", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Romulo Meirelles\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "C:\\Program Files\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {}, + "https://packages.nuget.org/v1/FeedService.svc/": {}, + "https://www.nuget.org/api/v1/": {}, + "https://www.nuget.org/api/v2/": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.props b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.props new file mode 100644 index 0000000..b73804c --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.props @@ -0,0 +1,21 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Romulo Meirelles\.nuget\packages\;C:\Program Files\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + PackageReference + 5.11.1 + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.targets b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.targets new file mode 100644 index 0000000..d212750 --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.Core.vbproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.dgspec.json b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.dgspec.json new file mode 100644 index 0000000..19f9400 --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.dgspec.json @@ -0,0 +1,78 @@ +{ + "format": 1, + "restore": { + "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI\\BitnuvemAPI.vbproj": {} + }, + "projects": { + "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI\\BitnuvemAPI.vbproj": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI\\BitnuvemAPI.vbproj", + "projectName": "BitnuvemAPI", + "projectPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI\\BitnuvemAPI.vbproj", + "packagesPath": "C:\\Users\\Romulo Meirelles\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files\\Microsoft\\Xamarin\\NuGet\\", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Romulo Meirelles\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "C:\\Program Files\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {}, + "https://packages.nuget.org/v1/FeedService.svc/": {}, + "https://www.nuget.org/api/v1/": {}, + "https://www.nuget.org/api/v2/": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" + } + } + } + } +} \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.props b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.props new file mode 100644 index 0000000..b73804c --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.props @@ -0,0 +1,21 @@ + + + + True + NuGet + $(MSBuildThisFileDirectory)project.assets.json + $(UserProfile)\.nuget\packages\ + C:\Users\Romulo Meirelles\.nuget\packages\;C:\Program Files\Microsoft Visual Studio\Shared\NuGetPackages;C:\Program Files\Microsoft\Xamarin\NuGet\;C:\Program Files\dotnet\sdk\NuGetFallbackFolder + PackageReference + 5.11.1 + + + + + + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.targets b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.targets new file mode 100644 index 0000000..d212750 --- /dev/null +++ b/BitnuvemAPI.Core/obj/BitnuvemAPI.vbproj.nuget.g.targets @@ -0,0 +1,6 @@ + + + + $(MSBuildAllProjects);$(MSBuildThisFileFullPath) + + \ No newline at end of file diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfo.vb b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfo.vb new file mode 100644 index 0000000..f30056b --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfo.vb @@ -0,0 +1,24 @@ +'------------------------------------------------------------------------------ +' +' O código foi gerado por uma ferramenta. +' Versão de Tempo de Execução:4.0.30319.42000 +' +' As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se +' o código for gerado novamente. +' +'------------------------------------------------------------------------------ + +Option Strict Off +Option Explicit On + +Imports System +Imports System.Reflection + + +'Gerado pela classe WriteCodeFragment do MSBuild. diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfoInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfoInputs.cache new file mode 100644 index 0000000..c2900a5 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +932a369dab70006eaab07fb8165ac453c6bf5591 diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..55eabb3 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,3 @@ +is_global = true +build_property.RootNamespace = BitnuvemAPI +build_property.ProjectDir = C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.assets.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.assets.cache new file mode 100644 index 0000000..d23971f Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.assets.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.AssemblyReference.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.AssemblyReference.cache new file mode 100644 index 0000000..ae74df5 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.AssemblyReference.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache new file mode 100644 index 0000000..b9fb30a --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +5f3b795ca57bc48f5171814c5a28e71846b0f3ab diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..7ef1947 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt @@ -0,0 +1,7 @@ +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.vbproj.AssemblyReference.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Resources.resources +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.vbproj.GenerateResource.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.AssemblyInfoInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.AssemblyInfo.vb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp2.2\BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.GenerateResource.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.GenerateResource.cache new file mode 100644 index 0000000..36e9730 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Core.vbproj.GenerateResource.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Resources.resources b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Resources.resources new file mode 100644 index 0000000..e19b825 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp2.2/BitnuvemAPI.Resources.resources differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfo.vb b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfo.vb new file mode 100644 index 0000000..f30056b --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfo.vb @@ -0,0 +1,24 @@ +'------------------------------------------------------------------------------ +' +' O código foi gerado por uma ferramenta. +' Versão de Tempo de Execução:4.0.30319.42000 +' +' As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se +' o código for gerado novamente. +' +'------------------------------------------------------------------------------ + +Option Strict Off +Option Explicit On + +Imports System +Imports System.Reflection + + +'Gerado pela classe WriteCodeFragment do MSBuild. diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfoInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfoInputs.cache new file mode 100644 index 0000000..c2900a5 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +932a369dab70006eaab07fb8165ac453c6bf5591 diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..55eabb3 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,3 @@ +is_global = true +build_property.RootNamespace = BitnuvemAPI +build_property.ProjectDir = C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.assets.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.assets.cache new file mode 100644 index 0000000..0b4dcbf Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.assets.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.AssemblyReference.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.AssemblyReference.cache new file mode 100644 index 0000000..2fdb643 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.AssemblyReference.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache new file mode 100644 index 0000000..38adb77 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +4dc1c3680f5b78c6169614461ba671e2066aee4d diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..209c9f9 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\bin\Debug\netcoreapp3.0\BitnuvemAPI.deps.json +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\bin\Debug\netcoreapp3.0\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\bin\Debug\netcoreapp3.0\BitnuvemAPI.pdb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.vbproj.AssemblyReference.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Resources.resources +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.vbproj.GenerateResource.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.AssemblyInfoInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.AssemblyInfo.vb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI.Core\obj\Debug\netcoreapp3.0\BitnuvemAPI.pdb diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.GenerateResource.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.GenerateResource.cache new file mode 100644 index 0000000..b5d7e93 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Core.vbproj.GenerateResource.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Resources.resources b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Resources.resources new file mode 100644 index 0000000..e19b825 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.Resources.resources differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.dll b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.dll new file mode 100644 index 0000000..edbf4e5 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.dll differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.pdb b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.pdb new file mode 100644 index 0000000..4818b7d Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.0/BitnuvemAPI.pdb differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/4970ef7b-f601-46ec-b38a-50376b2db4b7_BitnuvemAPI.pdb b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/4970ef7b-f601-46ec-b38a-50376b2db4b7_BitnuvemAPI.pdb new file mode 100644 index 0000000..e095ea6 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/4970ef7b-f601-46ec-b38a-50376b2db4b7_BitnuvemAPI.pdb differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfo.vb b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfo.vb new file mode 100644 index 0000000..f30056b --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfo.vb @@ -0,0 +1,24 @@ +'------------------------------------------------------------------------------ +' +' O código foi gerado por uma ferramenta. +' Versão de Tempo de Execução:4.0.30319.42000 +' +' As alterações ao arquivo poderão causar comportamento incorreto e serão perdidas se +' o código for gerado novamente. +' +'------------------------------------------------------------------------------ + +Option Strict Off +Option Explicit On + +Imports System +Imports System.Reflection + + +'Gerado pela classe WriteCodeFragment do MSBuild. diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfoInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfoInputs.cache new file mode 100644 index 0000000..c2900a5 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.AssemblyInfoInputs.cache @@ -0,0 +1 @@ +932a369dab70006eaab07fb8165ac453c6bf5591 diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.assets.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.assets.cache new file mode 100644 index 0000000..4a0af6e Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.assets.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.AssemblyReference.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.AssemblyReference.cache new file mode 100644 index 0000000..f5e894a Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.AssemblyReference.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..4916e35 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.Core.vbproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.deps.json +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.pdb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Resources.resources +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.vbproj.GenerateResource.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.AssemblyInfoInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.AssemblyInfo.vb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.vbproj.CoreCompileInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.pdb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Core.vbproj.AssemblyReference.cache diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.GeneratedMSBuildEditorConfig.editorconfig b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.GeneratedMSBuildEditorConfig.editorconfig new file mode 100644 index 0000000..4eef0f2 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.GeneratedMSBuildEditorConfig.editorconfig @@ -0,0 +1,3 @@ +is_global = true +build_property.RootNamespace = BitnuvemAPI +build_property.ProjectDir = C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.assets.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.assets.cache new file mode 100644 index 0000000..2eb3e2c Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.assets.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.AssemblyReference.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.AssemblyReference.cache new file mode 100644 index 0000000..f5e894a Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.AssemblyReference.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.CoreCompileInputs.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.CoreCompileInputs.cache new file mode 100644 index 0000000..cf7b25d --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.CoreCompileInputs.cache @@ -0,0 +1 @@ +840fe29747a0e6e72dc071e380b8ec25161c9e70 diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.FileListAbsolute.txt b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.FileListAbsolute.txt new file mode 100644 index 0000000..9460175 --- /dev/null +++ b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.FileListAbsolute.txt @@ -0,0 +1,12 @@ +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.GeneratedMSBuildEditorConfig.editorconfig +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.AssemblyInfoInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.AssemblyInfo.vb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.vbproj.CoreCompileInputs.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.deps.json +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\bin\Debug\netcoreapp3.1\BitnuvemAPI.pdb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.Resources.resources +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.vbproj.GenerateResource.cache +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.dll +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.pdb +C:\Users\Romulo Meirelles\source\repos\BitnuvemAPI\BitnuvemAPI\obj\Debug\netcoreapp3.1\BitnuvemAPI.vbproj.AssemblyReference.cache diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.GenerateResource.cache b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.GenerateResource.cache new file mode 100644 index 0000000..b5d7e93 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/BitnuvemAPI.vbproj.GenerateResource.cache differ diff --git a/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/TempPE/My Project.Resources.Designer.vb.dll b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/TempPE/My Project.Resources.Designer.vb.dll new file mode 100644 index 0000000..2d52e85 Binary files /dev/null and b/BitnuvemAPI.Core/obj/Debug/netcoreapp3.1/TempPE/My Project.Resources.Designer.vb.dll differ diff --git a/BitnuvemAPI.Core/obj/project.assets.json b/BitnuvemAPI.Core/obj/project.assets.json new file mode 100644 index 0000000..b6e59ec --- /dev/null +++ b/BitnuvemAPI.Core/obj/project.assets.json @@ -0,0 +1,126 @@ +{ + "version": 3, + "targets": { + ".NETCoreApp,Version=v3.1": { + "Newtonsoft.Json/13.0.1": { + "type": "package", + "compile": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + }, + "runtime": { + "lib/netstandard2.0/Newtonsoft.Json.dll": {} + } + } + } + }, + "libraries": { + "Newtonsoft.Json/13.0.1": { + "sha512": "ppPFpBcvxdsfUonNcvITKqLl3bqxWbDCZIzDWHzjpdAHRFfZe0Dw9HmA0+za13IdyrgJwpkDTDA9fHaxOrt20A==", + "type": "package", + "path": "newtonsoft.json/13.0.1", + "files": [ + ".nupkg.metadata", + ".signature.p7s", + "LICENSE.md", + "lib/net20/Newtonsoft.Json.dll", + "lib/net20/Newtonsoft.Json.xml", + "lib/net35/Newtonsoft.Json.dll", + "lib/net35/Newtonsoft.Json.xml", + "lib/net40/Newtonsoft.Json.dll", + "lib/net40/Newtonsoft.Json.xml", + "lib/net45/Newtonsoft.Json.dll", + "lib/net45/Newtonsoft.Json.xml", + "lib/netstandard1.0/Newtonsoft.Json.dll", + "lib/netstandard1.0/Newtonsoft.Json.xml", + "lib/netstandard1.3/Newtonsoft.Json.dll", + "lib/netstandard1.3/Newtonsoft.Json.xml", + "lib/netstandard2.0/Newtonsoft.Json.dll", + "lib/netstandard2.0/Newtonsoft.Json.xml", + "newtonsoft.json.13.0.1.nupkg.sha512", + "newtonsoft.json.nuspec", + "packageIcon.png" + ] + } + }, + "projectFileDependencyGroups": { + ".NETCoreApp,Version=v3.1": [ + "Newtonsoft.Json >= 13.0.1" + ] + }, + "packageFolders": { + "C:\\Users\\Romulo Meirelles\\.nuget\\packages\\": {}, + "C:\\Program Files\\Microsoft Visual Studio\\Shared\\NuGetPackages": {}, + "C:\\Program Files\\Microsoft\\Xamarin\\NuGet\\": {}, + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder": {} + }, + "project": { + "version": "1.0.0", + "restore": { + "projectUniqueName": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj", + "projectName": "BitnuvemAPI", + "projectPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\BitnuvemAPI.Core.vbproj", + "packagesPath": "C:\\Users\\Romulo Meirelles\\.nuget\\packages\\", + "outputPath": "C:\\Users\\Romulo Meirelles\\source\\repos\\BitnuvemAPI\\BitnuvemAPI.Core\\obj\\", + "projectStyle": "PackageReference", + "fallbackFolders": [ + "C:\\Program Files\\Microsoft Visual Studio\\Shared\\NuGetPackages", + "C:\\Program Files\\Microsoft\\Xamarin\\NuGet\\", + "C:\\Program Files\\dotnet\\sdk\\NuGetFallbackFolder" + ], + "configFilePaths": [ + "C:\\Users\\Romulo Meirelles\\AppData\\Roaming\\NuGet\\NuGet.Config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.FallbackLocation.config", + "C:\\Program Files\\NuGet\\Config\\Microsoft.VisualStudio.Offline.config", + "C:\\Program Files\\NuGet\\Config\\Xamarin.Offline.config" + ], + "originalTargetFrameworks": [ + "netcoreapp3.1" + ], + "sources": { + "C:\\Program Files\\Microsoft SDKs\\NuGetPackages\\": {}, + "https://api.nuget.org/v3/index.json": {}, + "https://packages.nuget.org/v1/FeedService.svc/": {}, + "https://www.nuget.org/api/v1/": {}, + "https://www.nuget.org/api/v2/": {} + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "projectReferences": {} + } + }, + "warningProperties": { + "warnAsError": [ + "NU1605" + ] + } + }, + "frameworks": { + "netcoreapp3.1": { + "targetAlias": "netcoreapp3.1", + "dependencies": { + "Newtonsoft.Json": { + "target": "Package", + "version": "[13.0.1, )" + } + }, + "imports": [ + "net461", + "net462", + "net47", + "net471", + "net472", + "net48" + ], + "assetTargetFallback": true, + "warn": true, + "frameworkReferences": { + "Microsoft.NETCore.App": { + "privateAssets": "all" + } + }, + "runtimeIdentifierGraphPath": "C:\\Program Files\\dotnet\\sdk\\5.0.404\\RuntimeIdentifierGraph.json" + } + } + } +} \ No newline at end of file