SwiftagramCrypto Documentation

Structure Client.​Application

struct Application: Equatable, Codable, CustomStringConvertible  

A struct defining all possible information about a (mock) Instagram mobile app.

%25 Client.Application Client.Application Codable Codable Client.Application->Codable CustomStringConvertible CustomStringConvertible Client.Application->CustomStringConvertible Equatable Equatable Client.Application->Equatable

Member Of

Client

A struct defining all possible information used to identify the software and hardware combination of a logged in user.

Conforms To

Codable
CustomStringConvertible
Equatable

Properties

version

public let version: String

The client's version. Android devices' versions end with " Android".

code

public let code: String

The client's code.

description

public var description: String  

A valid description.

Methods

android(_:​code:​)

public static func android(_ version: String = "160.1.0.31.120", code: String = "246979827") -> Application  

Create an Android client.

Parameters

version String

A valid String. Defaults to "160.1.0.31.120".

code String

A valid String. Defaults to "185203708".

Returns

A valid Client.

iOS(_:​code:​)

public static func iOS(_ version: String = "160.1.0.31.120", code: String = "246979827") -> Application  

Create an iOS client.

Parameters

version String

A valid String. Defaults to "121.0.0.29.119".

code String

A valid String. Defaults to "185203708".

Returns

A valid Client.