API
 
The API currently in development has a number of improvements which will greatly improve and enhance the performance of applications built on it. Any applications in the future must be build on this new API to ensure maximum security and functionality.

The main features of this new API include:

  • OAuth2. This is the prevalent industry standard and companies such as Google, Microsoft and Facebook are already using it. It is best suited for a client developer model and is usable for pure Javascript too. Furthermore, it comes with much better usability and allows us to monitor far more transparently. Please note that we won’t be using any earlier versions and OAuth2 only will be used in newer applications.
  • JSON. JSON significantly enhances the rate at which data’s format is interchanged. Besides, it utilizes common conventions of known programming languages such as C, C++, C# and Java. Because of this, JSON format is the ideal format for us to use as it greatly improves performances. From now onwards, JSON will be the sole format that will be used.
  • New envelope for responses. The error responses that are prompted in our applications become hard to handle if they are poorly organized. Therefore, it’s crucial that we organize them in the best possible manner so as to respond quickly to them. For this, new envelope for responses will be used to ensure that a consistent place is used for these error responses. This will minimize any chances of conflicts. The new envelope will have a number of other uses which will transpire as you get a hang of the new API.
  • New endpoints. Endpoints are important to transmit messages securely to the clients. The new API includes new endpoints which will be used in the future. Some examples of the new endpoints are user badges, venue, herenow, user venuehistory and bundled requests.
  • More REST-ful. We have made the REST concepts more deeply ingrained within the new API. Not only is the API more REST-ful than before, it makes use of JSON as the internet media type for data. This will have a noticeable positive impact on the efficiency of API and makes it much more consistent with the prevalent standards. Also, the components within the API are now much more consistent with each other.
  • API explorer. The new API explorer provides an extensive range of information on the API. It is easy to use and navigate and deals with all the major aspects and topics of the API. The topics are organized in a near manner and makes browsing through them a piece of cake.
  • HTML5. HTML5 is enacted in the new API. HTML5 standard supports the latest multimedia and is pertinent for the newer applications to incorporate maximum support. This latest HTML standard comes with new tags such as and which allows you to add all the relevant multimedia with ease and speed. HTML5 is also far better in rendering graphical content on the browser, which is an essential part of digital art.
  • CSS3. CSS3 is the perhaps the most efficient style sheet language to date. It allows the developers to separate presentation from structure and it’s syntax is lot more easier than earlier languages. We have implemented this language in the API so as to allow you to define the presentation of your applications in a far efficient and convenient way. An important feature of CSS3 is that it lets you render your content into multiple columns, thus sticking to a vital principle of design which is brevity. Also, with CSS3, you can now handle multiple background images with just a single element.
  • JavaScript. Javascript is the magic language that can transform simple images and multimedia elements into very dynamic entities through different effects. Moreover, it significantly sheds the load of the server by prompting error messages of a false input by client within the client’s browser through pop-up messages. This makes it very important for a digital art company as us and thus, we’ve made it a part of our new API.
  • jQuery. The fastest javascript library to access DOM is jQuery. It saves you from a lot of repetitive code and greatly aids in creating better, more interactive User Interfaces. Besides, you can use a lot of plug-ins for jQuery which are widely available and which let you add a number of effects to web pages.
  • MySQL. MySQL is open-source database management system and can be easily deployed on open-source systems and comes coupled with LAMP/WAMP/MAMP/APACHE servers. MySQL is a very powerful and reliable database server and thus makes an ideal addition to our API.
  • AJAX. The data transfer on web applications through Ajax is seamless and quicker. Coupled with other additions we made to the API, namely HTML5 and CSS3, Ajax can be very useful. And for that reason, it is a part of our new API.
  • Websocketing. This specification defines an API that enables Web pages to use theWeb Sockets protocol for two-way communication with a remote host using a single TCP connection.
The new API comes with extensive documentation, so you won’t have any problem in getting a grasp of it quickly. However, you must note that certain components of the new API such as OAuth2 are not backwards compatible. So if you are currently using OAuth or any other standard, you must update to the new API and its OAuth2 standard. We have tried to tie up all the components in a neat fashion, creating an API which is better, neater and much more efficient and secure. Therefore, we highly recommend that you shift to it at the earliest and develop all future applications on it.