Category: .Maui APIs
DotMauiCSSMinifyClient released
We have created for a premium user a small client written in Java to minimize CSS through our API for version 1.2. This client is public and available for download or you can see the…
Minify JavaScript with C# and .Maui APIs
using System; public class Program { public static void Main() { var request = (System.Net.HttpWebRequest) System.Net.WebRequest.Create(“https://api.dotmaui.com/client/1.0/jsmin/”); var postData = “apikey=YOUR_API_KEY”; postData += “&url=https://code.jquery.com/jquery-3.4.1.js”; postData += “&asciionly=false”; var data = System.Text.Encoding.ASCII.GetBytes(postData); request.Method = “POST”; request.ContentType =…
CSS Minify API 1.2 released!
We have just released a new version of the API to minimize CSS. Based on your feedback we have added four new parameters: removeurlquotes: Removes quotes from urls. Default is true.removecomments: Removes all comments. Default…
PHP script to delete old files from CDN
At present our APIs do not support a query based on the date of creation. To delete the old files it is necessary to request the list using the “ls” command and then compare the…
Convert URLs and HTML Code to PDF with PHP
Our API is a free solution for converting web pages and HTML documents to PDF with PHP. Here is a simple example: <?php $data = array(“apikey” => “YOUR_API_KEY”, “html” => “<p>My first pdf with <b>.Maui…
Minify multiple Javascript and CSS files in a folder with .Maui APIs and PHP
It’s really simple to minify multiple Javascript files in a folder with .Maui APIs and PHP. Copy and paste the following snippet of code, insert your API key, specify folder paths in $paths array and run the PHP…
.Maui pastebin developers API released
At great demand, APIs have been released for our Pastebin service. This is a beta version, available only for premium users. Using them is damn easy, here’s a ready, copy and paste example in PHP….
.Maui CDN API
View or delete your files in the .Maui CDN. Example with GET (Premium Users): https://api.dotmaui.com/client/1.0/cdn/?apikey=YOUR_API_KEY&cmd=ls&limit=0,10 Response: { “resources”: { “0”: { “creationDate”: “2017-10-16T12:14:46.473Z”, “UID”: “7iikf1”, “size”: 44416, “url”: “https://cdn.dotmaui.com/libs/img/33399.jpg” }, “1”: { “creationDate”: “2017-10-16T12:14:46.473Z”, “UID”:…
Minify JavaScript with Telegram
Now with @DotMauiBot, the dotmaui.com Telegram bot, you can minimize Javascript code directly from this instant messaging application. Obviously it is more convenient to use this feature from the desktop client or from the website,…