Endpoint alternatives and similar libraries
Based on the "Network" category.
Alternatively, view Endpoint alternatives based on common mentions on social networks and blogs.
-
Perfect
Server-side Swift. The Perfect core toolset and framework for Swift Developers. (For mobile back-end development, website and API development, and moreβ¦) -
SwiftSoup
SwiftSoup: Pure Swift HTML Parser, with best of DOM, CSS, and jquery (Supports Linux, iOS, Mac, tvOS, watchOS) -
Zewo
Lightweight library for web server applications in Swift on macOS and Linux powered by coroutines. -
BlueSocket
Socket framework for Swift using the Swift Package Manager. Works on iOS, macOS, and Linux. -
Connectivity
π Makes Internet connectivity detection more robust by detecting Wi-Fi networks without Internet access. -
WKZombie
WKZombie is a Swift framework for iOS/OSX to navigate within websites and collect data without the need of User Interface or API, also known as Headless browser. It can be used to run automated tests / snapshots and manipulate websites using Javascript. -
PeerKit
An open-source Swift framework for building event-driven, zero-config Multipeer Connectivity apps -
Digger
Digger is a lightweight download framework that requires only one line of code to complete the file download task -
SOAPEngine
This generic SOAP client allows you to access web services using a your iOS app, Mac OS X app and AppleTV app. -
BigBrother
DISCONTINUED. Automatically sets the network activity indicator for any performed request.
InfluxDB - Power Real-Time Data Analytics at Scale
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Endpoint or a related project?
README
Endpoint (Deprecated)
β οΈ This project has been deprecated. Consider using Moya and MoyaSugar instead.
π Elegant API Abstraction for Swift.
At a Glance
API Declarations
Create an Enum with raw type Rule
and conform protocol Endpoint
. Each cases is the API endpoint which contains HTTP method and URL path.
enum GitHub: Rule, Endpoint {
static var baseURLString = "https://api.github.com"
case Repo = "GET /repos/<owner>/<repo>"
case RepoIssues = "GET /repos/<owner>/<repo>/issues"
case CreateIssue = "POST /repos/<owner>/<repo>/issues"
}
Using APIs
Endpoint is built on Alamofire. Calling request()
on endpoint cases returns Alamofire.Request
instance.
GitHub.Repo.request(["owner": "devxoul", "repo": "Then"]).responseJSON { response in
// This is an Alamofire's response block!
}
This example is sending an HTTP request to https://api.github.com/repos/devxoul/Then
using GET
.
Installation
Using CocoaPods:
pod 'Endpoint', '~> 0.2'
Using Carthage:
github "devxoul/Endpoint" ~> 0.2
Using Swift Package Manager:
import PackageDescription let package = Package( name: "MyAwesomeApp", dependencies: [ .Package(url: "https://github.com/devxoul/Endpoint", "0.2.0"), ] )
License
Endpoint is under MIT license. See the [LICENSE](LICENSE) file for more info.
*Note that all licence references and agreements mentioned in the Endpoint README section above
are relevant to that project's source code only.