Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
162 changes: 162 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,162 @@
# Compiled source #
###################
*.class
*.dll
*.exe
*.o
*.so

sb

build
data
pkg
bin
_obj

main

test_node

*~
client
lib/skyapi/target
# Packages #
############
# it's better to unpack these files and commit the raw source
# git has its own built in compression methods
*.7z
*.dmg
*.gz
*.iso
*.jar
*.rar
*.tar
*.zip

# Logs and databases #
######################
*.log
*.sql
*.sqlite

# OS generated files #
######################
.DS_Store
.DS_Store?
._*
.Spotlight-V100
.Trashes
Icon?
ehthumbs.db
Thumbs.db

*.pyx
#build
*~

*.orig

.cache
release
.bin

.skycoin

*.prof
*.out

# Binaries
/skycoind
/skycoin
/skycoindev
/blockchain
/generate_cert
/address_gen
/skycoin-integration

*.pem

# Deprecated
_deprecated/

blockchain.bin
blockchain.sigs
master.keys
*.bak
benefactor-wallet.json
masterdata/
.genv

src/gui/static/dev
src/mesh/gui/static/dev

npm-debug.log

node_modules

electron/release
electron/.cache
electron/.electron_cache
electron/node_modules
electron/.gox_output
electron/.electron_output
electron/.standalone_output
electron/.daemon_output
electron/.cli_output
# Do not ignore the icons folder
!electron/build
!electron/build/icons

.vscode/

#File generation sublime text
.do.cfg
.do.state
skycoin.do

*.swo
*.swp

src/mesh/TODO

.idea/

*.iml
*.test
coverage.html
coverage/
*.coverage.out

src/api/integration/wallets/
src/api/integration/wallets/

skycoin-cli

# FIXME: see #1027 - Temporary solution to deal with generated file
include/libskycoin.h

# Eclipse temp files
.cproject
.metadata/**
.project

# Generated docs
docs/libc/latex
docs/libc/man
docs/libc/xml


# Do not ignore Docker Cloud build
!hooks/build

*.prof
*.profile
*.cpuprofile
*.memprofile

# cli fiberAddressGen default output
addresses.txt
seeds.csv

histogram
7 changes: 7 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
language: java
jdk:
- oraclejdk11

script:
- make install
- make test-ci
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## Libskycoin-Android 0.25.1 - 2019/03/19

### Added

- Add `skyapi`, a wrapper for Skycoin api in version 0.25.1

### Fixed

- Fix #5 - Android API wrapper for the Skycoin node API



5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
install:
(cd lib/skyapi && mvn clean install)

test-ci:
(cd lib/skyapi && mvn test)
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Skyapi, a Wrapper for Skycoin Api

This wrapper is Auto generated by openapi-generator directly from `Skycoin Api` code for version v0.25.1.

For further details of usage of `Skyapi wrapper for Skycoin Api` see [Autogenerated documentation](./lib/skyapi/README.md)

### Specific Node Address

For use a specific node of Skycoin, you just need to create a instance of `DefaultApi` passing the node address:

```android
DefaultApi api_instance = new DefaultApi();
api_instance.setBasePath("some_host");
```

Then in `skyapi` you can use all methods related to Api Client.
8 changes: 8 additions & 0 deletions docker/images/dev-cli/Dockerfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
FROM dock9/oraclejdk8:gradle-4.6

WORKDIR /usr/src/skyapi

COPY ./lib/skyapi .

RUN mvn clean install

39 changes: 39 additions & 0 deletions lib/skyapi/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
# Built application files
*.apk
*.ap_

# Files for the Dalvik VM
*.dex

# Java class files
*.class

# Generated files
bin/
gen/
out/

# Gradle files
.gradle/
build/

# Local configuration file (sdk path, etc)
local.properties

# Proguard folder generated by Eclipse
proguard/

# Log Files
*.log

# Android Studio Navigation editor temp files
.navigation/

# Android Studio captures folder
captures/

# Intellij
*.iml

# Keystore files
*.jks
23 changes: 23 additions & 0 deletions lib/skyapi/.openapi-generator-ignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# OpenAPI Generator Ignore
# Generated by openapi-generator https://github.com/openapitools/openapi-generator

# Use this file to prevent files from being overwritten by the generator.
# The patterns follow closely to .gitignore or .dockerignore.

# As an example, the C# client generator defines ApiClient.cs.
# You can make changes and tell OpenAPI Generator to ignore just this file by uncommenting the following line:
#ApiClient.cs

# You can match any string of characters against a directory, file or extension with a single asterisk (*):
#foo/*/qux
# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux

# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
#foo/**/qux
# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux

# You can also negate patterns with an exclamation (!).
# For example, you can ignore all files in a docs folder with the file extension .md:
#docs/*.md
# Then explicitly reverse the ignore rule for a single file:
#!docs/README.md
1 change: 1 addition & 0 deletions lib/skyapi/.openapi-generator/VERSION
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
3.3.4
Loading