Skip to content

Instantly share code, notes, and snippets.

@zorem
zorem / get_formatted_tracking_info.php
Last active April 11, 2022 12:49
Below is the code snippet for get formatted tracking info
<?php
// Check if function exist
if ( function_exists( 'ast_get_tracking_items' ) ) {
$order_id = 123; // Replace with your order_id
$tracking_items = ast_get_tracking_items($order_id);
foreach($tracking_items as $tracking_item){
$tracking_number = $tracking_item['tracking_number'];
@ihciah
ihciah / README.MD
Last active July 9, 2024 13:41
A reverse proxy for Telegram Bot API on Aliyun Function Compute / Cloudflare Workers

A reverse proxy for Telegram Bot API on Aliyun Function Compute / Cloudflare Workers

To help users in China mainland access telegram api stably and conveniently with low cost, this script maybe the one you need.

The server-less means you don't have to run a server to proxy the requests, just pay as you go.

Usage

Edit key_prefix, set it to the prefix of you bot address(like /bot563441998:) can avoid abusing.